class Dry::Configurable::Settings::ArgumentParser

@private

def call(val, opts, block)

Other tags:
    Private: -
def call(val, opts, block)
  if block && block.parameters.empty?
    raise ArgumentError unless Undefined.equal?(opts)
    processor = DEFAULT_PROCESSOR
    value, options = Settings.capture(&block), val
  else
    processor = block || DEFAULT_PROCESSOR
    if Undefined.equal?(opts) && val.is_a?(Hash) && val.key?(:reader)
      value, options = Undefined, val
    else
      value, options = val, opts
    end
  end
  [value, processor, options(Undefined.default(options, EMPTY_HASH))]
end

def options(reader: false)

def options(reader: false)
  { reader: reader }
end