So I assume that:

 module Mod1
   def self.a_method
     puts 'a'
   end
 end

is identical to:

 module Mod1
   def Mod1.a_method
     puts 'a'
   end
 end


---
Neville Franks, http://www.getsoft.com http://www.surfulater.com

-- 
Posted via http://www.ruby-forum.com/.