Skip to content

Instantly share code, notes, and snippets.

@gugod
Created December 20, 2009 13:58
Show Gist options
  • Select an option

  • Save gugod/260493 to your computer and use it in GitHub Desktop.

Select an option

Save gugod/260493 to your computer and use it in GitHub Desktop.
Fixnum.class_eval("def + (x)\n(to_f + x.to_f + 1).to_i\nend")
puts 2 + 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment