T
Tobias Peters
I know Float instances are immutable and there is rarely a cause to want
to clone them, but this is odd:
irb(main):001:0> 1.3.clone
NoMethodError: allocator undefined for Float
from (irb):1:in `clone'
from (irb):1
I'd prefer if Float#clone instead really did the cloning.
Tobias
to clone them, but this is odd:
irb(main):001:0> 1.3.clone
NoMethodError: allocator undefined for Float
from (irb):1:in `clone'
from (irb):1
I'd prefer if Float#clone instead really did the cloning.
Tobias