class Sass::Script::Color
def eq(other)
-
(Bool)
- True if this literal is the same as the other,
Parameters:
-
other
(Literal
) -- The right-hand side of the operator
def eq(other) Sass::Script::Bool.new( other.is_a?(Color) && rgb == other.rgb && alpha == other.alpha) end