method

accept_list_item

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

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.

accept_list_item(am, fragment)
public

No documentation available.

# File lib/rdoc/markup/to_html.rb, line 199
  def accept_list_item(am, fragment)
    if tag = @in_list_entry.last
      @res << annotate(tag) << "\n"
    end

    @res << list_item_start(am, fragment)

    @res << wrap(convert_flow(am.flow(fragment.txt))) << "\n"

    @in_list_entry[-1] = list_end_for(fragment.type)
  end