From: Phlip Date: 2007-07-18T12:40:13+09:00 Subject: Re: syntactic sugar buzz Trans wrote: >> This could be written: >> blah = foo.bar||"".split > > blah = (foo.bar || "").split > > Works just fine. Not sure what you mean by "well known object type". What if split were another method, something that only real 'bar's can do? -- Phlip http://www.oreilly.com/catalog/9780596510657/ "Test Driven Ajax (on Rails)" assert_xpath, assert_javascript, & assert_ajax