Create a gist now

Instantly share code, notes, and snippets.

# execute this snippet
module MyModule
def self.extended(base)
puts "Howdy!"
end
end
class Blah
extend MyModule
end
=> Howdy!
=> Blah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment