Class: RuPov::Textures::Pigments::ColourList

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

Direct Known Subclasses

Brick, Checker, Hexagon

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#<<, #to_s

Constructor Details

#initialize(type, list) ⇒ ColourList

Returns a new instance of ColourList.



313
314
315
316
# File 'lib/rupov.rb', line 313

def initialize( type, list )
    super()
    self << Methods::MultiValue.new(list,type)
end