> -----Original Message----- > From: Mauricio Julio FernáÏdez Pradier > [mailto:batsman@tux-chan] On Behalf Of Mauricio FernáÏdez > Sent: Tuesday, November 22, 2005 12:03 PM > To: ruby-talk ML > Subject: Re: C extensions and class constants nested within modules > > > On Wed, Nov 23, 2005 at 03:34:48AM +0900, Daniel Berger wrote: > > What's the difference between these two? > > > > module Foo > A = :Foo > class Bar > A = :Bar > end > class Bar::Baz > A # => :Foo > end > end > > module Foo > class Bar > class Baz > A # => :Bar > end > end > end > > RUBY_VERSION # => "1.8.3" > > -- > Mauricio Fernandez Ah, ok. I think I can live with that for my needs. :) Thanks to all who replied. - Dan