> On Jul 17, 6:52 pm, Jeff Pritchard <j... / jeffpritchard.com> 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/.