Method: Color::CMYK#coerce
- Defined in:
- lib/color/cmyk.rb
permalink #coerce(other) ⇒ Object
Coerces the other Color object into CMYK.
14 15 16 |
# File 'lib/color/cmyk.rb', line 14 def coerce(other) other.to_cmyk end |
Coerces the other Color object into CMYK.
14 15 16 |
# File 'lib/color/cmyk.rb', line 14 def coerce(other) other.to_cmyk end |