From: Logan Capaldo Date: 2006-04-19T06:43:05+09:00 Subject: Re: String#clear --Apple-Mail-19--414346442 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Apr 18, 2006, at 5:34 PM, Gregory Seidman wrote: > For future compatibility: > > class String > instance_method(:clear) rescue def clear > replace "" > end > end Now that's an idiom! --Apple-Mail-19--414346442--