write_text( node, output ) protected

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/formatters/pretty.rb, line 87
      def write_text( node, output )
        s = node.to_s()
        s.gsub!(/\s/,' ')
        s.squeeze!(" ")
        s = wrap(s, @width - @level)
        s = indent_text(s, @level, " ", true)
        output << (' '*@level + s)
      end
Register or log in to add new notes.