Subject: [ruby-core:34693] Re: Ruby operator equivalent to Groovy's "?."
From: Jim Weirich <jim.weirich gmail.com>
Date: Fri, 21 Jan 2011 10:01:22 +0900
References: 3463234692
In-reply-to: 34692
On Jan 20, 2011, at 7:52 PM, Charles Oliver Nutter wrote:
> This also short-circuits further calls...but it's pretty ugly :)
Also doesn't work if a method returns a type other than self.class.
--
-- Jim Weirich
-- jim.weirich / gmail.com