# File lib/less/engine/nodes/entity.rb, line 51 51: def inspect; to_s end
Returns the path from any given node, to the root
ex: ['color', 'p', '#header', 'body', '*']
# File lib/less/engine/nodes/entity.rb, line 38 38: def path node = self 39: path = [] 40: while node do 41: path << node 42: node = node.parent 43: end 44: path 45: end
# File lib/less/engine/nodes/entity.rb, line 47 47: def root 48: path.last 49: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.