Mark Ng <markn / cs.mu.OZ.AU> writes: > Is there a document somewhere describing keywords or modifiers like > module_function and attr_name .. etc somewhere ? why do I have to > declare a method as a module_function before it is accesible by > outside modules ? Is that way I can make all my module methods > module_functions automatically ? (I am after a quick and dirty > jobbie for now. ;-) Mark: Have a look at class Module: http://www.rubycentral.com/book/ref_c_module.html You'll find the attr_ and module_function stuff in there. If you use module_function without arguments, if modifies all subsequent methods. Dave