Sha256: 614d847d148bc3cdadcad4575ea85ca2e2b0ca944a7bb66329968952d3b90ebf

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

class AplLibraryHelper

  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
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
apl-library-0.0.90 lib/apl-library/helpers/apl_library_helper.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/lib/apl-library/helpers/apl_library_helper.rb