Exception: CLI::ParserError::NameArgumetNotSymbolError
- Inherits:
-
CLI::ParserError
- Object
- ArgumentError
- CLI::ParserError
- CLI::ParserError::NameArgumetNotSymbolError
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
-
#initialize(type, arg) ⇒ NameArgumetNotSymbolError
constructor
A new instance of NameArgumetNotSymbolError.
Constructor Details
#initialize(type, arg) ⇒ NameArgumetNotSymbolError
Returns a new instance of NameArgumetNotSymbolError.
12 13 14 |
# File 'lib/cli.rb', line 12 def initialize(type, arg) super("#{type} name has to be of type Symbol, got #{arg.class.name}") end |