planetthoughtful schrieb:
> In Ruby, am I required to put my defs before any code that calls those
> defs?

pt, in addition to what the others have said, note that you can do the 
following:

   def method_one
     method_two
   end

   def method_two
     puts "two"
   end

   method_one

The call to method_two is *written* before the definition of method_two, 
but the call is *executed* after the definition has been parsed.

Regards,
Pit