Method: CLI::UI::Glyph.lookup

Defined in:
lib/cli/ui/glyph.rb

.lookup(name) ⇒ Object



83
84
85
86
87
# File 'lib/cli/ui/glyph.rb', line 83

def lookup(name)
  MAP.fetch(name.to_s)
rescue KeyError
  raise InvalidGlyphHandle, name
end