From: Thomas Gantner Date: 2007-07-21T07:10:06+09:00 Subject: Re: RCR? Added syntax for chains that possibly return nil on Fri 20. July 2007 18.28, Trans wrote: > ... > > foo = bar.baz default nil > > Another possibility... > > T. I prefer this solution to the otherwise also very elegant variant with '->'. With 'default' (or '|||' or ...) we can also catch all the syntactically special methods like '==' '<=>', '[]', all the operators ('&', '*', ...) etc. -Thomas -- Thomas Gantner mailto:thomas.gantner@gmx.net