1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
semantic/test/fixtures/ruby/analysis/subclass.rb

23 lines
183 B
Ruby
Raw Normal View History

2018-03-22 19:31:53 +03:00
class Foo
def inspect
"<foo>"
end
def foo
"the foo method"
end
2018-03-22 19:31:53 +03:00
end
class Bar < Foo
def inspect
"<bar>"
end
end
class Bar
def baz
end
end
2018-03-22 19:31:53 +03:00
Bar.inspect()