Class: Sass::Tree::DebugNode
- Inherits:
- Node
- Object
- Node
- Sass::Tree::DebugNode
- Defined in:
- /Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/debug_node.rb
Overview
A dynamic node representing a Sass @debug
statement.
Instance Attribute Summary (collapse)
- - (Script::Tree::Node) expr
The expression to print.
Attributes inherited from Node
#children, #filename, #has_children, #line, #options, #source_range
Instance Method Summary (collapse)
- - (DebugNode) initialize(expr) constructor
A new instance of DebugNode.
Methods inherited from Node
#<<, #==, #balance, #bubbles?, #css, #css_with_sourcemap, #deep_copy, #each, #inspect, #invisible?, #style, #to_sass, #to_scss
Constructor Details
- (DebugNode) initialize(expr)
Returns a new instance of DebugNode
12 13 14 15 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/debug_node.rb', line 12
def initialize(expr)
@expr = expr
super()
end |
Instance Attribute Details
- (Script::Tree::Node) expr
The expression to print.
9 10 11 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/debug_node.rb', line 9
def expr
@expr
end |