Method: OptBuilder.map_with_collection_opts

Defined in:
lib/opt_builder.rb

.map_with_collection_opts(&block) ⇒ Object



25
26
27
28
29
30
31
32
# File 'lib/opt_builder.rb', line 25

def self.map_with_collection_opts(&block)
  result = self.collection_opts.map do |config|
    yield config
  end
  
  result += self.superclass.map_with_collection_opts(&block) if (self.superclass.respond_to? :map_with_single_opts)
  result        
end