Skip to content

Instantly share code, notes, and snippets.

@wnuqui wnuqui/gist:2767143

Created May 22, 2012
Embed
What would you like to do?
module inside a class! what do you think?
class Foo
module Bar
def self.test
puts "Test!"
end
end
end
# Bar namespaced to Foo for the "test" util method!
# what do you think?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.