Method: Sass::Script::Value::Base#plus
- Defined in:
- lib/sass/script/value/base.rb
#plus(other) ⇒ Script::Value::String
The SassScript + operation.
99 100 101 102 |
# File 'lib/sass/script/value/base.rb', line 99
def plus(other)
type = other.is_a?(Sass::Script::Value::String) ? other.type : :identifier
Sass::Script::Value::String.new(to_s(:quote => :none) + other.to_s(:quote => :none), type)
end
|