Method: Chroma::ColorModes::Hsv#to_a
- Defined in:
- lib/chroma/color_modes.rb
#to_a ⇒ Array<Numeric> Also known as: to_ary
Returns the values h, s, v, and a as an array.
15 16 17 |
# File 'lib/chroma/color_modes.rb', line 15 def to_a [@h, @s, @v, @a] end |