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
9 10 11 12 |
# File 'lib/cli/ui/glyph.rb', line 9 def initialize(handle) super @handle = handle end |
Instance Method Details
#message ⇒ Object
: -> String
15 16 17 18 19 |
# File 'lib/cli/ui/glyph.rb', line 15 def keys = Glyph.available.join(',') "invalid glyph handle: #{@handle} " \ "-- must be one of CLI::UI::Glyph.available (#{keys})" end |