Created
April 23, 2009 17:32
-
-
Save stevenbristol/100623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Bar | |
def bar; end | |
end | |
module Foo | |
include Bar | |
def foo; end | |
end | |
class FooBar | |
include Foo | |
end | |
FooBar.new.foo # => nil | |
FooBar.new.bar # => NoMethodError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment