On Thu, 15 Dec 2005 dblack / wobblini.net wrote:

> Hi --
>
> On Thu, 15 Dec 2005, Ara.T.Howard wrote:
>
>> 
>> this provide method re-use at both the class and module level.  it can be 
>> used
>> for a kind of multiple inheritence organizational style.
>> 
>>    harp:~ > cat a.rb
>>    class Module
>>      def inherit other
>
> My main suggestion would be to rename this method.  I don't think this
> is an inheritance operation.  At least, it seems potentially confusing
> to "inherit" a module, since inheritance already means something else
> and modules already do other things.

true true.  hmmm... how is it different here?  you'll have all the
class_methods and all the instance_methods....  and Superclass === self with
be true...

i'm sure there must be a catch though...

can you think of a better name?

cheers.

-a
-- 
===============================================================================
| ara [dot] t [dot] howard [at] noaa [dot] gov
| all happiness comes from the desire for others to be happy.  all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================