From: daz Date: 2005-09-16T14:16:35+09:00 Subject: Re: defining a method relative to a module's nesting I wrote: > > > parent = Object.const_get(mod.to_s.sub(/::[^:]+\z/, "")) > > parent = Object.const_get(mod.name[/\w+/]) > > ... should suit. [?] > Cuh! As soon as I hit the button -- my nonsense, sorry. daz