Exception: Zoom::Error::InvalidColor
- Inherits:
-
Zoom::Error
- Object
- RuntimeError
- Zoom::Error
- Zoom::Error::InvalidColor
- Defined in:
- lib/zoom/error/invalid_color.rb
Instance Method Summary collapse
-
#initialize(color) ⇒ InvalidColor
constructor
A new instance of InvalidColor.
Constructor Details
#initialize(color) ⇒ InvalidColor
Returns a new instance of InvalidColor.
2 3 4 |
# File 'lib/zoom/error/invalid_color.rb', line 2 def initialize(color) super("Invalid color: #{color}") end |