class Sass::Tree::DebugNode
@see Sass::Tree
A dynamic node representing a Sass ‘@debug` statement.
def _perform(environment)
-
environment(Sass::Environment) -- The lexical environment containing
def _perform(environment) res = @expr.perform(environment) if filename STDERR.puts "#{filename}:#{line} DEBUG: #{res}" else STDERR.puts "Line #{line} DEBUG: #{res}" end [] end
def initialize(expr)
-
expr(Script::Node) -- The expression to print
def initialize(expr) @expr = expr super() end