Method: Sass::Script::Color#times

Defined in:
lib/sass/script/color.rb

#times(other) ⇒ Object



49
50
51
52
53
54
55
# File 'lib/sass/script/color.rb', line 49

def times(other)
  if other.is_a? Sass::Script::String
    raise NoMethodError.new(nil, :times)
  else
    piecewise(other, :*)
  end
end