Class: Less::Tree

Inherits:
Object
  • Object
show all
Defined in:
lib/less/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(tree) ⇒ Tree

Returns a new instance of Tree.



26
27
28
# File 'lib/less/parser.rb', line 26

def initialize(tree)
  @tree = tree
end

Instance Method Details

#to_css(options = {}) ⇒ Object



30
31
32
# File 'lib/less/parser.rb', line 30

def to_css(options = {})
  @tree.toCSS(options)
end