From: EdUarDo Date: 2005-07-26T00:45:59+09:00 Subject: Re: Newby question 'unless' > I think I figured out what you want :-) You always want @a, and you > only want @b if @a is not zero: Yes :) > > "#{@a}#{@b unless @a.zero?}" That's what I wanted. I didn't know that the condition could be into the brackets. Thanks.