class Gem::OptionParser::Switch

def conv_arg(arg, val = []) # :nodoc:

:nodoc:

exception.
conversion. Yields at semi-error condition instead of raising an
Parses argument, converts and returns +arg+, +block+ and result of
def conv_arg(arg, val = []) # :nodoc:
  if conv
    val = conv.call(*val)
  else
    val = proc {|v| v}.call(*val)
  end
  return arg, block, val
end