Skip to content

Instantly share code, notes, and snippets.

@joaovitor
Created July 10, 2010 13:29
Show Gist options
  • Save joaovitor/470707 to your computer and use it in GitHub Desktop.
Save joaovitor/470707 to your computer and use it in GitHub Desktop.
valor = 20.62
class Float
def +(value)
"Ahhhh pegadinha do malandro"
end
end
puts valor+2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment