mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +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()
|