Sha256: d8424155be27e6320069ba5f2aaa2ebfb6436c3735aafbe78bdc958b8a3b9e2c
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 Bytes
Contents
require_relative 'error_rely' class RakeCommander module Options class MissingOption < RakeCommander::Options::ErrorRely def initialize(value) super("missing required option: #{to_description(value)}") end end class MissingArgument < RakeCommander::Options::ErrorRely OPTION_REGEX = /missing (?:required|) argument: (?<option>.+)/i.freeze end class InvalidArgument < RakeCommander::Options::ErrorRely OPTION_REGEX = /invalid argument: (?<option>.+)/i.freeze end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake-commander-0.1.4 | lib/rake-commander/options/error.rb |
rake-commander-0.1.2 | lib/rake-commander/options/error.rb |