From: Daniel Lucraft Date: 2007-07-18T15:50:19+09:00 Subject: Re: syntactic sugar buzz > On Jul 17, 6:52 pm, Jeff Pritchard wrote: >> This could be written: >> blah = (foo.bar||"").split Sometimes I think the brackets spoil how the expression reads. You could define a method that looks like this: blah = foo.bar.or("").split Trainwreck though... Dan -- Posted via http://www.ruby-forum.com/.