Skip to content

Instantly share code, notes, and snippets.

@cgriego
Created October 26, 2011 01:46
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 cgriego/1315166 to your computer and use it in GitHub Desktop.
Save cgriego/1315166 to your computer and use it in GitHub Desktop.
module Bar
def initialize(*args)
puts "bar"
super
end
end
class Foo
include Bar
def initialize(name)
puts "foo"
super
end
end
Foo.new "boom"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment