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