From: Nathan Olberding Date: 2006-05-04T02:10:32+09:00 Subject: Re: Mixin Syntax for Newbies Nathan Olberding wrote: > 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? > I think I might have to. Better yet, should I be trying to use superclasses for this? -- Posted via http://www.ruby-forum.com/.