From: Rick DeNatale Date: 2006-08-11T08:56:31+09:00 Subject: Re: Modules -> do I have is straight? On 8/10/06, Eero Saynatkari wrote: > module Foo > Class Bar > end > end > > Bar.new # Error > Foo::Bar.new # OK > > include Bar Or maybe include Foo You can only include a module, not a class, even include Foo::Bar wouldn't work > Bar.new # Now OK also! -- Rick DeNatale