File: list_item.rb [rdoc: Ruby Standard Library Documentation]
Last Modified
2017-04-01 12:51:22 -0500


frozen_string_literal: false

An item within a List that contains paragraphs, headings, etc.

For BULLET, NUMBER, LALPHA and UALPHA lists, the label will always be nil. For NOTE and LABEL lists, the list label may contain:

  • a single String for a single label

  • an Array of Strings for a list item with multiple terms

  • nil for an extra description attached to a previously labeled list item