Last active
November 10, 2017 01:21
-
-
Save rickhull/462ca3c81f7e1f860de8788b17d32497 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 Foo | |
def print(msg) | |
p [msg, self] | |
end | |
end | |
class Bar | |
include Foo | |
def initialize | |
self.print("WTF dood") | |
end | |
end | |
Bar.new |
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
["WTF dood", #<Bar:0x0055883f1c5da0>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment