From: Ross Bamford Date: 2006-06-02T20:49:31+09:00 Subject: Re: Where can one find examples of masterful Ruby code? On Fri, 2006-06-02 at 20:13 +0900, Robert Klemme wrote: > 2006/6/2, ReggW : > > James Britt wrote: > > > Semi-rhetorical questions: If you are not already well-versed in Ruby, > > > how do you know you are reading masterful code? > > > > > > If you are reading masterful code, can one appreciate what makes it > > > masterful without a firm knowledge of Ruby? > > > > > > Is the definition of "masterful" conditional? If so, on what? > > > > > Shut-up and just point us to the "masterful" code. :) > > class Master > def ful() "code" end > end > > Oh, sorry, it has to fit on one line of course: > > class Master; def ful() "code" end end Or, not quite equivalent: def (Master=[]).ful() "code" end ;) -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk