Skip to content

Instantly share code, notes, and snippets.

@semmons99
Created July 6, 2011 16:24
Show Gist options
  • Save semmons99/1067662 to your computer and use it in GitHub Desktop.
Save semmons99/1067662 to your computer and use it in GitHub Desktop.
module Foo
extend self
def initialize(*args)
super
end
end
class Bar
def initialize
puts a
end
end
class Baz < Bar
include Foo
end
Baz.new(1, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment