Class: Less::Tree
- Inherits:
-
Object
- Object
- Less::Tree
- Defined in:
- lib/less/parser.rb
Instance Method Summary collapse
-
#initialize(tree) ⇒ Tree
constructor
A new instance of Tree.
- #to_css(options = {}) ⇒ Object
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( = {}) @tree.toCSS() end |