mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
23 lines
183 B
Ruby
23 lines
183 B
Ruby
class Foo
|
|
def inspect
|
|
"<foo>"
|
|
end
|
|
|
|
def foo
|
|
"the foo method"
|
|
end
|
|
end
|
|
|
|
class Bar < Foo
|
|
def inspect
|
|
"<bar>"
|
|
end
|
|
end
|
|
|
|
class Bar
|
|
def baz
|
|
end
|
|
end
|
|
|
|
Bar.inspect()
|