Method: Sass::Script::Value::Base#single_eq

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

#single_eq(other) ⇒ Script::Value::String

The SassScript = operation (used for proprietary MS syntax like alpha(opacity=20)).

Parameters:

  • The right-hand side of the operator

Returns:

  • A string containing both values separated by "="



90
91
92
# File 'lib/sass/script/value/base.rb', line 90

def single_eq(other)
  Sass::Script::Value::String.new("#{self}=#{other}")
end