Exception: Colorer::UnknownSgrCode

Inherits:
Exception
  • Object
show all
Defined in:
lib/colorer.rb

Instance Method Summary collapse

Constructor Details

#initialize(sgr) ⇒ UnknownSgrCode

Returns a new instance of UnknownSgrCode.



12
13
14
# File 'lib/colorer.rb', line 12

def initialize(sgr)
  super("#{sgr.inspect} is unknown")
end