Hello,

Modules are very convenient to add "instance methods" to a class. Is there 
a way a Module can also add "class methods" ?

Something like:
module MyModule
   def self.foo() # not sure of what this does, but not what I want
     print "foo"
   end
end
class MyClass
   include MyModule
end
MyClass.foo() # Does not work, foo is not defined for MyClass

Thanks,

Jean-Hugues