Created
August 12, 2017 00:03
-
-
Save hoffm/c83f7e0e7ce753183e44c18784a08c04 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
# THIS WORKS | |
SubClass.new.foo_via_method | |
# => "foo" | |
# THIS DOESN'T | |
SubClass.new.foo_via_constant | |
# NameError: uninitialized constant MyClass::FOO_CONSTANT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment