Class: Sass::Tree::FileNode
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(filename, children, options) ⇒ FileNode
constructor
A new instance of FileNode.
- #to_s(*args) ⇒ Object
Methods inherited from Node
#<<, #==, #last, #perform, #to_sass
Constructor Details
#initialize(filename, children, options) ⇒ FileNode
Returns a new instance of FileNode.
4 5 6 7 8 |
# File 'lib/sass/tree/file_node.rb', line 4 def initialize(filename, children, ) @filename = filename super() self.children = children end |
Instance Method Details
#to_s(*args) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/sass/tree/file_node.rb', line 10 def to_s(*args) super() rescue Sass::SyntaxError => e e.add_backtrace_entry(@filename) raise e end |