1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Convert Sass::Tree::DebugNode docs to YARD.

This commit is contained in:
Nathan Weizenbaum 2009-04-25 02:08:37 -07:00
parent 7650c44ede
commit 2116f12ba8

View file

@ -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<Symbol, Object>] 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