method

indent

v2_2_9 - Show latest stable - Class: REXML::Node
indent(to, ind)
public

No documentation available.

# File lib/rexml/node.rb, line 38
    def indent to, ind
                        if @parent and @parent.context and not @parent.context[:indentstyle].nil? then
                                indentstyle = @parent.context[:indentstyle]
                        else
                                indentstyle = '  '
                        end
                        to << indentstyle*ind unless ind<1
    end