Skip to content

Instantly share code, notes, and snippets.

@hoffm
Last active August 11, 2017 18:28
Show Gist options
  • Save hoffm/3389b7db41178c218b41cc3272da2408 to your computer and use it in GitHub Desktop.
Save hoffm/3389b7db41178c218b41cc3272da2408 to your computer and use it in GitHub Desktop.
class MyOtherClass
NAME = "Michael"
end
class OtherSubClass < MyOtherClass
end
OtherSubClass::NAME
# => "Michael"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment