class Infoboxer::Tree::BaseParagraph

Base class for all “paragraph-level” nodes: {Paragraph}, {ListItem}, {Heading}. It should be convenient to use it in {Navigation::Lookup::Node#_lookup Node#lookup} and similar methods like this:

“`ruby page.lookup(:BaseParagraph) # => flat list of paragraph-levels “`

Public Instance Methods

text() click to toggle source
Calls superclass method Infoboxer::Tree::Compound#text
# File lib/infoboxer/tree/paragraphs.rb, line 13
def text
  super.strip + "\n\n"
end