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