Skip to content

Instantly share code, notes, and snippets.

@nakajima
Created February 10, 2012 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakajima/1784579 to your computer and use it in GitHub Desktop.
Save nakajima/1784579 to your computer and use it in GitHub Desktop.
this is why we pair
def sʇnd
:PUTS
end
BINDING = binding
class << self
define_method :method_missing do |sym, *args|
value = eval(sym.to_s, BINDING)
puts value
end
end
ǝɯɐu = "ʇɐd"
ǝɯɐu sʇnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment