Skip to content

Instantly share code, notes, and snippets.

@TMaYaD
Created February 27, 2012 08:50
Show Gist options
  • Save TMaYaD/1922617 to your computer and use it in GitHub Desktop.
Save TMaYaD/1922617 to your computer and use it in GitHub Desktop.
module Tester
def Tester.hello
print 'hello'
end
extend Module.new {
def world
print 'world'
end
}
extend Module.new {
def world
print 'cruel'
super
end
}
end
Tester.extend Module.new {
def world
print 'lonely'
super
end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment