class Sass::Script::Interpolation
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 = "" res << @before.perform(environment).to_s if @before res << " " if @before && @whitespace_before val = @mid.perform(environment) res << (val.is_a?(Sass::Script::String) ? val.value : val.to_s) res << " " if @after && @whitespace_after res << @after.perform(environment).to_s if @after Sass::Script::String.new(res) end