Class: RuPov::DataTypes::Vector::RGB

Inherits:
Generic
  • Object
show all
Includes:
Common::RGB
Defined in:
lib/rupov.rb

Instance Method Summary collapse

Methods included from Common::B

#b, #b=

Methods included from Common::G

#g, #g=

Methods included from Common::R

#r, #r=

Methods inherited from Generic

#set, #to_s

Constructor Details

#initialize(r, g, b) ⇒ RGB

Returns a new instance of RGB.



507
508
509
# File 'lib/rupov.rb', line 507

def initialize( r, g, b)
    super( [r,g,b])
end