Displaying 1 result from an estimated 1 matches for "58bd364c".
2013 Aug 29
2
Need a bit help on "module_function" method
The documentation is very straight forward and the mentioned example
also cleared all the lines except the one mentioned inside **.
http://ruby-doc.org/core-2.0.0/Module.html#method-i-module_function
Creates module functions for the named methods. These functions may be
called with the module as a receiver, and also become available as
instance methods to classes that mix in the module. Module