Class: Color::Monochromatic

Inherits:
Scheme
  • Object
show all
Defined in:
lib/color/scheme.rb

Instance Attribute Summary

Attributes inherited from Scheme

#hues

Instance Method Summary collapse

Methods inherited from Scheme

#add_hue, create_hue

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