Object
# File lib/csspool/node.rb, line 22 def == other return false unless self.class == other.class accept Visitors::Comparable.new other end
# File lib/csspool/node.rb, line 5 def accept target target.accept self end
# File lib/csspool/node.rb, line 33 def children accept Visitors::Children.new end
# File lib/csspool/node.rb, line 29 def each &block Visitors::Iterator.new(block).accept self end
# File lib/csspool/node.rb, line 37 def hash @hash ||= children.map { |child| child.hash }.hash end
# File lib/csspool/node.rb, line 9 def to_css options={} if options[:minify] to_minified_css else accept Visitors::ToCSS.new end end
Generated with the Darkfish Rdoc Generator 2.