From: Peter Vandenabeele Date: 2011-12-12T03:51:11+09:00 Subject: Re: How to call a method from a different class --00163628444071f02004b3d57f3b Content-Type: text/plain; charset=UTF-8 On Sun, Dec 11, 2011 at 2:32 PM, jake kaiden wrote: > hey folks, > > class methods are defined with `self.foo` rather than `class.foo` - so > that > > def class.overall_class_method > "overall total on class" > end > > should be written: > > def self.overall_class_method > "overall total on class" > end > Sorry for the confusion ... (hits hammer on head: _always_ test code before posting) Peter --00163628444071f02004b3d57f3b--