Skip to content

Instantly share code, notes, and snippets.

@cgriego
Created October 26, 2011 01:46
Show Gist options
  • 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