From: Jim Weirich Date: 2009-02-26T10:45:38+09:00 Subject: [ruby-core:22526] Re: YASNP (Yet Another Selector Namespace Proposal) On Feb 25, 2009, at 6:45 PM, Yehuda Katz wrote: >> ...would super in a method defined in a namespace module search any >> 'nested' namespaces? > > remember that namespaces are lexical. Once you exit the lexical > scope, super > reverts to its normal meaning. My take on this is that selector namespaces are for preventing accidental name collisions. The methods have no relationship to each other and invoking a super in a method defined in a namespace should not search search any other namespaces in scope at the original call site. However, it probably *should* honor (i.e. search) any namespaces in scope at the site of the super call. -- -- Jim Weirich -- jim.weirich@gmail.com