2010-04-01 11:45:16 +04:00
|
|
|
XREF_DATA = <<-XREF_DATA
|
|
|
|
class C1
|
|
|
|
|
|
|
|
attr :attr
|
2011-02-05 09:20:57 +03:00
|
|
|
|
|
|
|
# :section: separate
|
|
|
|
|
2010-04-01 11:45:16 +04:00
|
|
|
attr_reader :attr_reader
|
|
|
|
attr_writer :attr_writer
|
2011-02-05 09:20:57 +03:00
|
|
|
|
|
|
|
# :section:
|
2010-04-01 11:45:16 +04:00
|
|
|
attr_accessor :attr_accessor
|
|
|
|
|
|
|
|
CONST = :const
|
|
|
|
|
|
|
|
def self.m
|
|
|
|
end
|
|
|
|
|
2010-04-10 10:36:13 +04:00
|
|
|
def m foo
|
2010-04-01 11:45:16 +04:00
|
|
|
end
|
2010-12-20 06:22:49 +03:00
|
|
|
|
2010-04-01 11:45:16 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
class C2
|
2010-12-20 06:22:49 +03:00
|
|
|
def b
|
|
|
|
end
|
|
|
|
|
|
|
|
alias a b
|
|
|
|
|
2010-04-01 11:45:16 +04:00
|
|
|
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
|
2010-12-20 06:22:49 +03:00
|
|
|
def m
|
|
|
|
end
|
2010-04-01 11:45:16 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
module M1::M2
|
|
|
|
end
|
2011-05-14 04:39:16 +04:00
|
|
|
|
|
|
|
class Parent
|
|
|
|
def m() end
|
|
|
|
def self.m() end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Child < Parent
|
|
|
|
end
|
|
|
|
|
2010-04-01 11:45:16 +04:00
|
|
|
XREF_DATA
|
|
|
|
|