From: Rick DeNatale Date: 2007-05-23T10:26:44+09:00 Subject: Re: Substituting variables in a method On 5/22/07, Harry Kakueki wrote: > str4 = str3.gsub("#{str1}","#{str2}") The string interpolation is completely unnecessary, this is the same as: str4 = str3.gsub(str1, str2) -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/