Method: Sass::Script::Value::List#eq

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

#eq(other)

See Also:

  • Value#eq


40
41
42
43
44
# File 'lib/sass/script/value/list.rb', line 40

def eq(other)
  Sass::Script::Value::Bool.new(
    other.is_a?(List) && value == other.value &&
    separator == other.separator && bracketed == other.bracketed)
end