Exception: Toys::ArgParser::ToolUnrecognizedError
- Inherits:
-
UsageError
- Object
- StandardError
- UsageError
- Toys::ArgParser::ToolUnrecognizedError
- Defined in:
- core-docs/toys/arg_parser.rb
Overview
Defined in the toys-core gem
A UsageError indicating the given subtool name does not exist.
Instance Attribute Summary collapse
-
#full_name ⇒ Array<String>
readonly
The full name of the tool.
Attributes inherited from UsageError
#message, #name, #suggestions, #value
Instance Method Summary collapse
-
#initialize(message = nil, full_name: nil, suggestions: nil) ⇒ ToolUnrecognizedError
constructor
Create a ToolUnrecognizedError.
Methods inherited from UsageError
Constructor Details
#initialize(message = nil, full_name: nil, suggestions: nil) ⇒ ToolUnrecognizedError
Create a ToolUnrecognizedError.
262 263 264 |
# File 'core-docs/toys/arg_parser.rb', line 262 def initialize( = nil, full_name: nil, suggestions: nil) # Source available in the toys-core gem end |
Instance Attribute Details
#full_name ⇒ Array<String> (readonly)
Returns The full name of the tool.
269 270 271 |
# File 'core-docs/toys/arg_parser.rb', line 269 def full_name @full_name end |