Created
April 13, 2016 00:39
-
-
Save ka8725/20e7cffbc1b816dd689e83964b0676ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Base | |
end | |
class A < Base | |
def foo | |
puts 'foo' | |
end | |
end | |
class A < Base | |
def bar | |
puts 'bar' | |
end | |
end | |
A.new.foo | |
A.new.bar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment