General

Profile

ChrisTimperley (Chris Timperley)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

12/11/2013

02:43 AM Ruby Bug #9237 (Closed): Monkey Patching Infix Float Operator's Produces Unexpected Results
=begin
Trying to redefine the infix division operator for the Float initially appears to have no effect.
class Float
def /(other)
"magic!"
end
end
puts 10.0/2.0
# -> 5.0
But when anothe...
ChrisTimperley (Chris Timperley)

Also available in: Atom