Exception: RakeCommander::Options::MissingOption
- Defined in:
- lib/rake-commander/options/error.rb
Constant Summary
Constants inherited from ErrorRely
Constants included from Name
Name::DOUBLE_HYPHEN_REGEX, Name::HYPEN_REGEX, Name::HYPHEN_START_REGEX, Name::OPTIONAL_REGEX, Name::SINGLE_HYPHEN_REGEX, Name::SPACE_REGEX, Name::UNDERSCORE_REGEX
Instance Method Summary collapse
-
#initialize(value) ⇒ MissingOption
constructor
A new instance of MissingOption.
Methods inherited from ErrorRely
Methods included from Name
#argument_optional?, #argument_required?, #double_hyphen?, #name_argument, #name_argument?, #name_hyphen, #name_hyphen?, #name_sym, #name_word_sym, #short_hyphen, #short_hyphen?, #short_sym, #single_hyphen?, #valid_name?, #valid_short?
Constructor Details
#initialize(value) ⇒ MissingOption
Returns a new instance of MissingOption.
5 6 7 |
# File 'lib/rake-commander/options/error.rb', line 5 def initialize(value) super("missing required option: #{to_description(value)}") end |