Re: Custom class

Pål Bergström
Tue, 06 Oct 2009 10:19:19 -0000

Colin Law wrote:
> 2009/10/6 Pål Bergström
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:

> If you want to call it like that you must make test a class method
> rather than an instance method, so it must be
> def self.test
> ..
>
> Colin

Thanks. I don''t fully understand but it works.

This means you don''t need to require it (?)