Skip to content

Instantly share code, notes, and snippets.

@slawosz
Last active January 2, 2016 15:08
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 slawosz/8321190 to your computer and use it in GitHub Desktop.
Save slawosz/8321190 to your computer and use it in GitHub Desktop.
module Foo
def foo
super
puts "super"
end
end
module Baz
def foo
puts "foo"
end
end
class Bar
include Foo
end
Bar.new.foo
@torokmark
Copy link

class Bar
include Baz
include Foo
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment