Class: Toys::ArgParser::ArgValueUnacceptableError
- Inherits:
-
UsageError
- Object
- UsageError
- Toys::ArgParser::ArgValueUnacceptableError
- Defined in:
- core-docs/toys/arg_parser.rb
Overview
Defined in the toys-core gem
A UsageError indicating a positional argument did not accept the value given it.
Instance Attribute Summary
Attributes inherited from UsageError
#message, #name, #suggestions, #value
Instance Method Summary collapse
-
#initialize(message = nil, name: nil, value: nil, suggestions: nil) ⇒ ArgValueUnacceptableError
constructor
Create an ArgValueUnacceptableError.
Methods inherited from UsageError
Constructor Details
#initialize(message = nil, name: nil, value: nil, suggestions: nil) ⇒ ArgValueUnacceptableError
Create an ArgValueUnacceptableError.
196 197 198 |
# File 'core-docs/toys/arg_parser.rb', line 196 def initialize( = nil, name: nil, value: nil, suggestions: nil) # Source available in the toys-core gem end |