Created
August 28, 2016 20:23
-
-
Save briu/27f6bca225079be31dc571e99566452b to your computer and use it in GitHub Desktop.
interview
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 A | |
private | |
def some_method | |
puts 'HOLA!' | |
end | |
end | |
class B < A | |
def test_some_method_exec | |
some_method | |
end | |
end | |
t = B.new | |
t.test_some_method_exec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment