Skip to content

Instantly share code, notes, and snippets.

@bemurphy
Created November 6, 2009 21:24
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 bemurphy/228299 to your computer and use it in GitHub Desktop.
Save bemurphy/228299 to your computer and use it in GitHub Desktop.
module Bar
@@bar = "blah blah"
end
class Foo
include Bar
def self.bar
@@bar
end
end
puts Foo.bar # blah blah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment