Class: Less::Node::SassNode

Inherits:
Object
  • Object
show all
Includes:
Entity
Defined in:
lib/sass/less.rb

Instance Attribute Summary

Attributes included from Entity

#hide_in_sass, #src_line

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ SassNode

Returns a new instance of SassNode.



215
216
217
# File 'lib/sass/less.rb', line 215

def initialize(node)
  @node = node
end

Instance Method Details

#to_sass_tree



219
220
221
222
# File 'lib/sass/less.rb', line 219

def to_sass_tree
  return if hide_in_sass
  @node
end