Skip to content

Instantly share code, notes, and snippets.

@gdiggs
Created July 22, 2014 21:30
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 gdiggs/17b7f858629916931769 to your computer and use it in GitHub Desktop.
Save gdiggs/17b7f858629916931769 to your computer and use it in GitHub Desktop.
[1] pry(main)> class Fixnum
[1] pry(main)* def +(o)
[1] pry(main)* o
[1] pry(main)* end
[1] pry(main)* end
=> :+
[1] pry(main)> 2 + 5
=> 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment