Method: Sass::Script::Value::Base#==

Defined in:
lib/sass/script/value/base.rb

#==(other) ⇒ Boolean

Compares this object with another.

Parameters:

  • other (Object)

    The object to compare with

Returns:

  • (Boolean)

    Whether or not this value is equivalent to other


175
176
177
# File 'lib/sass/script/value/base.rb', line 175

def ==(other)
  eq(other).to_bool
end