From: John Feminella Date: 2011-06-05T21:55:16+09:00 Subject: Re: Class instance method In the case of a method they're approximately the same: ==== begin snippet ==== module M def self.foo; "foo"; end end M.foo # => "foo" M::foo # => "foo" ==== end snippet ==== But sometimes you want to access _constants_, not methods. Then they're drastically different: ==== begin snippet ==== module M module Inner; end end M::Inner # => M::Inner M.Inner # => NoMethodError: undefined method `Inner' for M:Module ==== end snippet ==== -- John Feminella Principal Consultant, BitsBuilder LI: http://www.linkedin.com/in/johnxf SO: http://stackoverflow.com/users/75170/