Skip to content

Instantly share code, notes, and snippets.

@michaelklishin
Created July 9, 2011 14: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 michaelklishin/1073599 to your computer and use it in GitHub Desktop.
Save michaelklishin/1073599 to your computer and use it in GitHub Desktop.
module B
def foo
"b"
end
end
class A
include B
def foo
"a" + super
end
end
puts A.new.foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment