Exception: CLI::UI::Glyph::InvalidGlyphHandle
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- CLI::UI::Glyph::InvalidGlyphHandle
- Defined in:
- lib/cli/ui/glyph.rb
Instance Method Summary collapse
-
#initialize(handle) ⇒ InvalidGlyphHandle
constructor
: (String handle) -> void.
-
#message ⇒ Object
: -> String.
Constructor Details
#initialize(handle) ⇒ InvalidGlyphHandle
: (String handle) -> void
11 12 13 14 |
# File 'lib/cli/ui/glyph.rb', line 11 def initialize(handle) super @handle = handle end |
Instance Method Details
#message ⇒ Object
: -> String
17 18 19 20 21 |
# File 'lib/cli/ui/glyph.rb', line 17 def keys = Glyph.available.join(',') "invalid glyph handle: #{@handle} " \ "-- must be one of CLI::UI::Glyph.available (#{keys})" end |