Created
August 2, 2011 03:01
-
-
Save joshuaclayton/1119516 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Something | |
module Another | |
def self.great | |
puts "great was called" | |
end | |
end | |
end | |
include Something | |
module Another | |
def self.method_missing(name, *args, &block) | |
p "method missing: #{name}" | |
end | |
end |
This file contains hidden or 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 Something | |
module Another | |
def self.great | |
puts "great was called" | |
end | |
end | |
end | |
include Something | |
module Something | |
module Another | |
def self.method_missing(name, *args, &block) | |
p "method missing: #{name}" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment