I see. Well, there isn't a general way to do it in any class, since
some classes (like Fixnum) are immutable.
For most classes, though, there will be a way to do what you want by
finding a 'replace'-like method.
Dan