I know I\'m doing something stupid or failing to do something intelligent - I\'m frequently guilty of both.
Here\'s an example of what\'s causing me pain:
I have
You need to prefix your function with the module name because modules are not classes:
Your /lib/test_functions.rb:
module TestFunctions def TestFunctions.abc puts 123 end end
Your code using the module method:
require 'test_functions' TestFunctions.abc