Class: Color::Monochromatic
Instance Attribute Summary
Attributes inherited from Scheme
Instance Method Summary collapse
-
#initialize(val) ⇒ Monochromatic
constructor
A new instance of Monochromatic.
Methods inherited from Scheme
Constructor Details
#initialize(val) ⇒ Monochromatic
Returns a new instance of Monochromatic.
50 51 52 53 54 |
# File 'lib/color/scheme.rb', line 50 def initialize(val) super() add_hue(val) end |