method
modules_for_helpers
v3.0.7 -
Show latest stable
-
0 notes -
Class: AbstractController::Helpers::ClassMethods
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0 (0)
- 3.0.5 (0)
- 3.0.7 (0)
- 3.0.9 (-38)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- What's this?
modules_for_helpers(args)
private
Returns a list of modules, normalized from the acceptable kinds of helpers with the following behavior:
| String or Symbol: | :FooBar or "FooBar" becomes "foo_bar_helper", |
and "foo_bar_helper.rb" is loaded using require_dependency.
| Module: | No further processing |
After loading the appropriate files, the corresponding modules are returned.
Parameters
- args - An array of helpers
Returns
- Array - A normalized list of modules for the list of helpers provided.


