helper(*args, &block)
Instance Public methods
The helper class method can take a series of helper module
names, a block, or both.
Options
*args - Module, Symbol, String
block - A block defining helper
methods
When the argument is a module it will be included directly in the template
class.
helper FooHelper # => includes FooHelper
When the argument is a string or symbol, the method will provide the
â_helperâ suffix, require the file and include the module in the templa