Class: RuPov::DataTypes::Vector::RGB
- Includes:
- Common::RGB
- Defined in:
- lib/rupov.rb
Instance Method Summary collapse
-
#initialize(r, g, b) ⇒ RGB
constructor
A new instance of RGB.
Methods included from Common::B
Methods included from Common::G
Methods included from Common::R
Methods inherited from Generic
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 |