Created
October 10, 2014 01:38
-
-
Save jamie/2df4d7e03cf324565631 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
>> def self.foo | |
>> puts "foo!" | |
>> end | |
>> end | |
=> nil | |
>> | |
?> class Sub < Base | |
>> end | |
=> nil | |
>> | |
?> Sub.foo | |
foo! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment