Hi. Thanks!

I found another way.

Module MyModule
  def m
  end
end

class MyClass
 extend MyDodule
end

MyClass.m

Can anyone explain the "job" of extend?

Thanks.

-- 
Posted via http://www.ruby-forum.com/.