Dave Burt wrote:
> Consider this simple alternative:
> 
> module One
>   def one
>     @one or "One!"
>   end
> end

That might work... I theoretically have to define each variable as a 
method? There's no way to initialize variables in modules and have those 
values appear in inheriting classes?

> If that's not good enough, and you don't mind using a library rather
> than bending Ruby's modules to your will yourself, try Ara T. Howard's
> Traits library; it deals with this completely.

I think I might have to.

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