class Infoboxer::Tree::DefinitionList

Represents definitions list (`term: definition` structure), consists of {DTerm}s and {DDefinition}s.

NB: In fact, at least in English Wikipedia, orphan “definition terms” are used as a low-level headers, especially in lists of links/references.

Public Instance Methods

make_marker(item) click to toggle source
# File lib/infoboxer/tree/list.rb, line 93
def make_marker(item)
  case item
  when DTerm
    list_text_indent
  when DDefinition
    list_text_indent + '  '
  end
end