Class: Color::Complementary
Instance Attribute Summary
Attributes inherited from Scheme
Instance Method Summary collapse
-
#initialize(val) ⇒ Complementary
constructor
A new instance of Complementary.
Methods inherited from Scheme
Constructor Details
#initialize(val) ⇒ Complementary
Returns a new instance of Complementary.
58 59 60 61 62 63 |
# File 'lib/color/scheme.rb', line 58 def initialize(val) super() hue = add_hue(val) add_hue(hue + 180) end |