Method: Color::RGB#coerce
- Defined in:
- lib/atome/utilities/color_helper/color/rgb.rb
#coerce(other) ⇒ Object
Coerces the other Color object into RGB.
11 12 13 |
# File 'lib/atome/utilities/color_helper/color/rgb.rb', line 11 def coerce(other) other.to_rgb end |