Skip to content

Instantly share code, notes, and snippets.

@chrisseaton
Created September 29, 2014 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisseaton/7fa7b2aa52337fc63f0b to your computer and use it in GitHub Desktop.
Save chrisseaton/7fa7b2aa52337fc63f0b to your computer and use it in GitHub Desktop.
module A
X = 14
module B
def self.foo
puts X
end
end
end
A::B.foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment