From 2116f12ba8bb8e040904c174e9b3ec40a9d93b7a Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Sat, 25 Apr 2009 02:08:37 -0700 Subject: [PATCH] [Sass] Convert Sass::Tree::DebugNode docs to YARD. --- lib/sass/tree/debug_node.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/sass/tree/debug_node.rb b/lib/sass/tree/debug_node.rb index bf57c3db..29487233 100644 --- a/lib/sass/tree/debug_node.rb +++ b/lib/sass/tree/debug_node.rb @@ -1,6 +1,12 @@ module Sass module Tree + # A dynamic node representing a Sass `@debug` statement. + # + # @see Sass::Tree class DebugNode < Node + # @param expr [Script::Node] The expression to print + # @param options [Hash] An options hash; + # see [the Sass options documentation](../../Sass.html#sass_options) def initialize(expr, options) @expr = expr super(options) @@ -8,6 +14,10 @@ module Sass protected + # Prints the expression to STDERR. + # + # @param environment [Sass::Environment] The lexical environment containing + # variable and mixin values def _perform(environment) res = @expr.perform(environment) if filename