In Files

Parent

Methods

Class Index [+]

Quicksearch

Less::Node::Mixin::Def

Public Instance Methods

to_sass_tree() click to toggle source
     # File lib/sass/less.rb, line 200
200:         def to_sass_tree
201:           return if hide_in_sass
202:           mixin = Sass::Tree::MixinDefNode.new(name, @params.map do |v|
203:               v.value.flatten!
204:               [Sass::Script::Variable.new(v), v.value.to_sass_tree]
205:             end)
206:           rules.each {|r| mixin << r.to_sass_tree}
207:           mixin
208:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.