method

to_s

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

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.

to_s()
public

No documentation available.

# File lib/rdoc/markup/fragments.rb, line 86
    def to_s
      text = if [:NOTE, :LABELED].include? type then
               "#{@param}: #{@txt}"
             else
               @txt
             end

      "L#@level: #{type} #{self.class.name.split('::')[-1]}\n#{text}"
    end