Method: Color::GrayScale#coerce
- Defined in:
- lib/atome/utilities/color_helper/color/grayscale.rb
#coerce(other) ⇒ Object
Coerces the other Color object to grayscale.
36 37 38 |
# File 'lib/atome/utilities/color_helper/color/grayscale.rb', line 36 def coerce(other) other.to_grayscale end |