Exception: CLI::UI::Widgets::InvalidWidgetArguments
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- CLI::UI::Widgets::InvalidWidgetArguments
- Extended by:
- T::Sig
- Defined in:
- lib/cli/ui/widgets.rb
Instance Method Summary collapse
-
#initialize(argstring, pattern) ⇒ InvalidWidgetArguments
constructor
A new instance of InvalidWidgetArguments.
- #message ⇒ Object
Methods included from T::Sig
Constructor Details
#initialize(argstring, pattern) ⇒ InvalidWidgetArguments
Returns a new instance of InvalidWidgetArguments.
82 83 84 85 86 |
# File 'lib/cli/ui/widgets.rb', line 82 def initialize(argstring, pattern) super @argstring = argstring @pattern = pattern end |
Instance Method Details
#message ⇒ Object
89 90 91 92 |
# File 'lib/cli/ui/widgets.rb', line 89 def "invalid widget arguments: #{@argstring} " \ "-- must match pattern: #{@pattern.inspect}" end |