From: Robert Klemme Date: 2008-06-18T21:24:16+09:00 Subject: Re: print(true and true) #=> the parenthesis issue 2008/6/18 Dave Bass : > Robert Klemme wrote: >> $ ruby -ce 'x = some_work() and puts x' >> Does that give a clue? > > Isn't that the same as this? > > x = some_work() > puts x unless x == false > > I prefer the two-line version; clarity wins over conciseness every time > for me. If you're in favour of clarity, why not x = some_work() putx x if x Kind regards robert -- use.inject do |as, often| as.you_can - without end