Class: RuPov::Textures::Pigments::SolidColour

Inherits:
Pigment
  • Object
show all
Defined in:
lib/rupov.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#<<, #to_s

Constructor Details

#initialize(colour) ⇒ SolidColour

Returns a new instance of SolidColour.



306
307
308
309
# File 'lib/rupov.rb', line 306

def initialize( colour )
    super()
    self << colour
end