class Asciidoctor::List

TODO add these methods to Asciidoctor core

Public Instance Methods

outline?() click to toggle source

Check whether this list is an outline list (unordered or ordered).

Return true if this list is an outline list. Otherwise, return false.

# File lib/asciidoctor-pdf/asciidoctor_ext/list.rb, line 6
def outline?
  @context == :ulist || @context == :olist
end