On 8/20/05, David A. Black <dblack / wobblini.net> wrote:
> I think that means:
> 
>    class C
>      def x
>        1
>      end
> 
>      localized :x   # or whatever
> 
>      def y
>        x
>      end
>    end
> 
>    class D < C
>      def x
>        2
>      end
>    end
> 
>    D.new.y     #  1 (because it calls the 'local' def. of x
> 
> or something like that.  I've probably misrepresented it slightly.

That's right. And furthermore

  class E < C
    def x
      super
    end
  end

  E.new.x  #=> No super method error  

At least I would think localized methods would not particpate in the
inheritance chain --which could also mean that localized methods
whould be in there own namepsace form other methods --like Java's
private.

T.