I have a ruby module for constants. It has a list of variables and 1 method which applies formatting. I can\'t seem to access the method in this module. Any idea why?
Generally, with modules, these things should be happening :
-> Autoload path in application.rb, add line :
config.autoload_paths += %W(#{config.root}/lib)
-> Place module in /lib
-> Include module with 'include NAMEOFMODULE'
(If module has an underscore like game_engine, you need to 'include GameEngine')