Skip to content

Instantly share code, notes, and snippets.

@aaronblohowiak
Forked from jaredatron/gist:270892
Created January 7, 2010 01:57
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 aaronblohowiak/270896 to your computer and use it in GitHub Desktop.
Save aaronblohowiak/270896 to your computer and use it in GitHub Desktop.
class Face
love = 5
get_love = Proc.new{ love }
puts get_love.call
define_method :get_love, &get_love
def love
:wtf_lol
end
end
puts Face.new.love
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment