From: Joel VanderWerf Date: 2005-08-17T07:04:51+09:00 Subject: Re: Module.nesting -> Kernel#nesting Dale Martenson wrote: > class Module > def lineage > eval self.ancestors.to_s.sub( /::[^:]$/, "" ) You can use name.sub(...) instead of self.ancestors.to_s.sub(...), but it's not much better. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407