Hi --

On Thu, 5 Jun 2008, Gog Mangog wrote:

> Avdi Grimm wrote:
>> The default return *value* is the value of the last statement executed
>> by the method.
>>
>
> Ok, what about:
>
> def aMethod()
> end
>
> the return value would be nil? or nilclass, right?

It's nil.


David

-- 
Rails training from David A. Black and Ruby Power and Light:
   INTRO TO RAILS         June 9-12            Berlin
   ADVANCING WITH RAILS   June 16-19           Berlin
See http://www.rubypal.com for details and updates!