From: Devin Mullins Date: 2007-06-05T21:32:27+09:00 Subject: Re: Writing method "change!" for String Mike wrote: > It should just change value of string to what I want. But I get error: > "Can't change the value of self". You really can't. Consider: class Fixnum def double! self *= 2 end end 3.double! # wha happen? > How do I proceed? ri String#replace