Skip to content

Instantly share code, notes, and snippets.

@waynerobinson
Created October 30, 2012 02:34
Show Gist options
  • Save waynerobinson/3977975 to your computer and use it in GitHub Desktop.
Save waynerobinson/3977975 to your computer and use it in GitHub Desktop.
module MyMixin
def self.included(base)
puts base.to_s
end
end
module TopLevel
class MyClass
include MyMixin
end
end
TopLevel::MyClass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment