class Sass::Script::StringInterpolation
def _perform(environment)
-
(Sass::Script::String)
- The SassScript string that is the value of the interpolation
Parameters:
-
environment
(Sass::Environment
) -- The environment in which to evaluate the SassScript
def _perform(environment) res = "" before = @before.perform(environment) res << before.value mid = @mid.perform(environment) res << (mid.is_a?(Sass::Script::String) ? mid.value : mid.to_s) res << @after.perform(environment).value Sass::Script::String.new(res, before.type) end