Class: Sass::Tree::WarnNode
Overview
A dynamic node representing a Sass @warn
statement.
Instance Attribute Summary collapse
-
#expr ⇒ Script::Node
The expression to print.
Attributes inherited from Node
#children, #filename, #has_children, #line, #options
Instance Method Summary collapse
-
#initialize(expr) ⇒ WarnNode
constructor
A new instance of WarnNode.
Methods inherited from Node
#<<, #==, #balance, #deep_copy, #do_extend, #each, #invisible?, #style, #to_s, #to_sass, #to_scss
Constructor Details
#initialize(expr) ⇒ WarnNode
Returns a new instance of WarnNode.
12 13 14 15 |
# File 'lib/sass/tree/warn_node.rb', line 12
def initialize(expr)
@expr = expr
super()
end
|
Instance Attribute Details
#expr ⇒ Script::Node
The expression to print.
9 10 11 |
# File 'lib/sass/tree/warn_node.rb', line 9
def expr
@expr
end
|