From: Robert Dober Date: 2008-02-24T20:11:53+09:00 Subject: Re: ANN: Teach yourself Ruby - the hard way! On Sat, Feb 23, 2008 at 9:59 PM, Martin DeMello wrote: > On Sat, Feb 23, 2008 at 3:44 AM, Robert Dober wrote: > > > > Nice work Martin, I suggest however that you do a > > gsub("function","method") on your text, there are just no functions in > > Ruby. > > What do you think? > > I did think about that, and deliberately decided to go with > 'function', since from a newbie perspective toplevel methods *are* > functions. > > Pros: Clear, conceptually simple to understand, a useful and > for-the-moment accurate model of what's happening > Cons: Technically incorrect, but to explain the difference would delve > into ruby's object model a bit too soon. > > martin > > Ok I see, I thought it was more an oversight, sorry for wasting your time R. -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein