method

add_text

ruby latest stable - Class: RDoc::Markup::Fragment

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

add_text(txt)
public

No documentation available.

# File lib/rdoc/markup/fragments.rb, line 38
    def add_text(txt)
      @txt << " " if @txt.length > 0
      @txt << txt.tr_s("\n ", "  ").strip
    end