diff options
author | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-16 18:49:26 +0900 |
---|---|---|
committer | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-30 00:39:06 +0900 |
commit | fcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch) | |
tree | 64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/test/rdoc/xref_data.rb |
Fresh start
Diffstat (limited to 'jni/ruby/test/rdoc/xref_data.rb')
-rw-r--r-- | jni/ruby/test/rdoc/xref_data.rb | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/jni/ruby/test/rdoc/xref_data.rb b/jni/ruby/test/rdoc/xref_data.rb new file mode 100644 index 0000000..4525a29 --- /dev/null +++ b/jni/ruby/test/rdoc/xref_data.rb @@ -0,0 +1,76 @@ +XREF_DATA = <<-XREF_DATA +class C1 + + attr :attr + + # :section: separate + + attr_reader :attr_reader + attr_writer :attr_writer + + # :section: + attr_accessor :attr_accessor + + CONST = :const + + def self.m + end + + def m foo + end + +end + +class C2 + def b + end + + alias a b + + class C3 + def m + end + + class H1 + def m? + end + end + end +end + +class C3 + class H1 + end + + class H2 < H1 + end +end + +class C4 + class C4 + end +end + +class C5 + class C1 + end +end + +module M1 + def m + end +end + +module M1::M2 +end + +class Parent + def m() end + def self.m() end +end + +class Child < Parent +end + +XREF_DATA + |