Class: AplLibraryHelper
- Inherits:
-
Object
- Object
- AplLibraryHelper
- Defined in:
- lib/apl-library/helpers/apl_library_helper.rb
Class Method Summary collapse
Class Method Details
.module_to_list(_modules_) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/apl-library/helpers/apl_library_helper.rb', line 3 def self.module_to_list _modules_ list = Array.new _modules_.each do |_module_| _module_.constants.each do |module_constants| list << _module_.const_get(module_constants) end end list end |