From: Daniel DeLorme Date: 2006-08-10T21:23:21+09:00 Subject: Re: extending String call with a #copy!(n) Alex Young wrote: >> Use << (or concat). >> > or sub!. replace would be more efficient: class String alias copy * def copy!(n) replace(self*n) end end