From: Pit Capitain Date: 2006-04-20T01:49:43+09:00 Subject: Re: Nested scopes Yoann Guillot schrieb: > > module Foo > def self.bar > puts "bar!" > end > > bar # works > > class Baz > # bar # doesn't work > # self.bar # doesn't work > Foo.bar # need to know the module name Module.nesting[ 1 ].bar > end > end Regards, Pit