Exception: Plugin::Thumbnailer::InvalidColorNameError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Plugin::Thumbnailer::InvalidColorNameError
- Defined in:
- lib/httpthumbnailer/plugin/thumbnailer.rb
Instance Method Summary collapse
-
#initialize(color) ⇒ InvalidColorNameError
constructor
A new instance of InvalidColorNameError.
Constructor Details
#initialize(color) ⇒ InvalidColorNameError
Returns a new instance of InvalidColorNameError.
40 41 42 |
# File 'lib/httpthumbnailer/plugin/thumbnailer.rb', line 40 def initialize(color) super("invalid color name: #{color}") end |