Method: Sass::Script::Value::Base#div

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

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

The SassScript / operation.

Parameters:

  • other (Value)

    The right-hand side of the operator

Returns:



118
119
120
# File 'lib/sass/script/value/base.rb', line 118

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