On Fri, 16 Jun 2006, Yukihiro Matsumoto wrote:

> That's where I am wondering.  Using the Daniel's code:
>
>  module M
>    class_extension do
>      def foo
>      end
>    end
>  end
>  module M2
>    include M
>  end
>  class C
>    include M2
>  end
>
>  M.foo   # => NoMethodError
>  M2.foo  # => Error? (should it affect modules?)
>  C.foo   # => Error? (should class_extension be propagated?)
>
> If 'class_extension' affects modules as well, do you think of any more
> generic name, in place of "class" extension?

   singleton_methods &block

-a
-- 
suffering increases your inner strength.  also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama