Class: RuPov::Textures::Pigments::Hexagon

Inherits:
ColourList 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(colour1, colour2, colour3) ⇒ Hexagon

Returns a new instance of Hexagon.



332
333
334
# File 'lib/rupov.rb', line 332

def initialize( colour1, colour2, colour3 )
    super( "hexagon", [colour1,colour2,colour3] )
end