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.
83 84 85 86 87 |
# File 'lib/cli/ui/widgets.rb', line 83 def initialize(argstring, pattern) super(nil) @argstring = argstring @pattern = pattern end |
Instance Method Details
#message ⇒ Object
90 91 92 93 |
# File 'lib/cli/ui/widgets.rb', line 90 def "invalid widget arguments: #{@argstring} " \ "-- must match pattern: #{@pattern.inspect}" end |