Class Sass::Script::StringInterpolation
In: lib/sass/script/string_interpolation.rb
Parent: Node

A SassScript object representing `#{}` interpolation within a string.

@see Interpolation

Methods

_perform   children   inspect   new   to_sass  

Public Class methods

Interpolation in a string is of the form `"before #{mid} after"`, where `before` and `after` may include more interpolation.

@param before [Node] The string before the interpolation @param mid [Node] The SassScript within the interpolation @param after [Node] The string after the interpolation

Public Instance methods

Returns the three components of the interpolation, `before`, `mid`, and `after`.

@return [Array<Node>] @see initialize @see Node#children

@return [String] A human-readable s-expression representation of the interpolation

Protected Instance methods

Evaluates the interpolation.

@param environment [Sass::Environment] The environment in which to evaluate the SassScript @return [Sass::Script::String] The SassScript string that is the value of the interpolation

[Validate]