Class: Bignum
- Inherits:
-
Object
- Object
- Bignum
- Defined in:
- lib/rubytracer/colour.rb
Instance Method Summary collapse
Instance Method Details
#*(other) ⇒ Object
67 68 69 70 71 72 73 74 |
# File 'lib/rubytracer/colour.rb', line 67 def * other case other when Rubytracer::Colour Rubytracer::Colour.new(self * other.r, self * other.g, self * other.b) else self.times_without_rubytracer(other) end end |
#times_without_rubytracer ⇒ Object
65 |
# File 'lib/rubytracer/colour.rb', line 65 alias :times_without_rubytracer :'*' |