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