assets/compass.app/lib/ruby/common/haml-3.1.7/vendor/sass/lib/sass/tree/visitors/perform.rb
# Runs the child nodes if the conditional expression is true;
# otherwise, tries the else nodes.
Runs the child nodes if the conditional expression is true;
otherwise, tries the else nodes.
Runs the child nodes if the conditional expression is true ; otherwise tries the else nodes .
def visit_if(node)
    if node.expr.nil? || node.expr.perform(@environment).to_bool
      yield
      node.children
    elsif node.else
      visit(node.else)
    else
      []
    end
  end
def visit_if ( node ) if node . expr . nil? || node . expr . perform ( @environment ) . to_bool yield node . children elsif node . else visit ( node . else ) else [ ] end end
Runs the child nodes if the conditional expression is true;
otherwise, tries the else nodes.
Runs the child nodes if the conditional expression is true ; otherwise tries the else nodes .
node