class Sass::Script::Literal

def eq(other)

Returns:
  • (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(self.class == other.class && self.value == other.value)
end