From: Austin Ziegler Date: 2008-01-11T03:17:49+09:00 Subject: Re: IF me like Ruby does On Jan 10, 2008 11:43 AM, Bira wrote: > On Jan 10, 2008 2:21 PM, Sven Schwyn wrote: > > Here's a version that's easier to read. Assume you want to concat A and > > B with a space in between provided the method add_B? returns true. > > How about "A#{add_B? ' B' :''}"? "A#{"B" if add_B}" -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca