-
-
Save maasha/57826c5e54b6b8852c1b 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
#!/usr/bin/env ruby | |
module Foo | |
def hello | |
puts "hi" | |
end | |
end | |
module Bar | |
class MyClass | |
end | |
end | |
# Include Foo in MyClass here | |
Bar::MyClass.new.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment