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
A new instance of InvalidGlyphHandle.
- #message ⇒ Object
Constructor Details
#initialize(handle) ⇒ InvalidGlyphHandle
Returns a new instance of InvalidGlyphHandle.
7 8 9 |
# File 'lib/cli/ui/glyph.rb', line 7 def initialize(handle) @handle = handle end |
Instance Method Details
#message ⇒ Object
11 12 13 14 15 |
# File 'lib/cli/ui/glyph.rb', line 11 def keys = Glyph.available.join(',') "invalid glyph handle: #{@handle} " \ "-- must be one of CLI::UI::Glyph.available (#{keys})" end |