provider/core.rb
# Creates an object list by calling a lambda
# This can be useful for converting a list of config values to something
# less human-centric.
Creates an object list by calling a lambda
This can be useful for converting a list of config values to something
less human-centric.
Creates an object list by calling a lambda This can be useful for converting a list of config values to something less human - centric .
def create_object_list(section, mapper)
      @api.objects
          .select { |o| section.key?(o.name) }
          .map do |o|
            Hash[section[o.name].map { |file| mapper.call(o, file) }]
          end
    end
def create_object_list ( section , mapper ) @api . objects . select { | o | section . key? ( o . name ) } . map do | o | Hash [ section [ o . name ] . map { | file | mapper . call ( o , file ) } ] end end
Creates an object list by calling a lambda
This can be useful for converting a list of config values to something
less human-centric.
Creates an object list by calling a lambda This can be useful for converting a list of config values to something less human - centric .
section
<not_specific>
mapper
<not_specific>