Skip to content

Instantly share code, notes, and snippets.

@ErinCall
Created September 26, 2012 19:54
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 ErinCall/3790189 to your computer and use it in GitHub Desktop.
Save ErinCall/3790189 to your computer and use it in GitHub Desktop.
module SomeModule
@foo = 1234
def self.some_method
@foo
end
end
class SomeClass
def bar
SomeModule.some_method
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment