method
indent_text
indent_text(string, level=1, style="\t", indentfirstline=true)
private
Hide source
# File lib/rexml/formatters/pretty.rb, line 123 def indent_text(string, level=1, style="\t", indentfirstline=true) return string if level < 0 string.gsub(/\n/, "\n#{style*level}") end