From: John Carter Date: 2008-02-28T12:42:01+09:00 Subject: Re: String interpolation method? On Thu, 28 Feb 2008, Trans wrote: > => require 'facets/string/interpolate' Hmm.... Very neat in application.... >>> String.interpolate{a} but.... def interpolate(&str) eval "%{#{str.call}}", str.binding end ...equally nasty in implementation. Ah well, clearly then I wasn't missing something.... there is no standard method. Thanks, John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand