From: "Iñaki Baz Castillo" Date: 2008-05-04T02:39:57+09:00 Subject: Why there is not "replace" method for Fixnum? Hi, using String#replace I can "simulate" a pointer (thanks to David A. for the explanation): a = "orignal a value" b = a b = "new value" a => "original a value" b => "new value" This is obvious: after the new assigment of "b" it points to a different object. So I can use "replace": a = "orignal a value" b = a b.replace "new value" a => "new value" b => "new value" But Fixnum has not this method "replace", neither Float. Doesn't make sense any primitive Ruby Class having this "replace" method instead of just one of them? -- Iñaki Baz Castillo