Sha256: e3fd80b07e6574dcd82e6d9063ed04854d66c88561af1ec2c5c60acbe8b752ef
Contents?: true
Size: 536 Bytes
Versions: 14
Compression:
Stored size: 536 Bytes
Contents
class RakeCommander module Options module Error class InvalidArgument < RakeCommander::Options::Error::Base option_regex(/invalid argument: (?<option>.+)/i.freeze) private def to_message(value) return super unless opt = option case value when OptionParser::InvalidArgument super("invalid option argument: #{opt.name_hyphen} (#{opt.short_hyphen})") else super end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems