mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +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()
|