Created
March 7, 2014 19:51
-
-
Save rondale-sc/9418607 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 Superclass | |
FIND_ME = "Found in superclass!" | |
end | |
# module ParentLexicalScope | |
# FIND_ME = "Found inside ParentLexicalScope" | |
# end | |
module ParentLexicalScope | |
FIND_ME = "Found inside ParentLexicalScope" | |
class Subclass < Superclass | |
p FIND_ME | |
end | |
end | |
# module ParentLexicalScope | |
# FIND_ME = "Found inside ParentLexicalScope" | |
# end | |
# module ParentLexicalScope | |
# class Subclass | |
# p FIND_ME | |
# end | |
# end | |
class ParentLexicalScope::Subclass | |
p FIND_ME | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment