Class: DocFooter

Inherits:
DocItem show all
Defined in:
lib/almirah/doc_items/doc_footer.rb

Constant Summary

Constants included from HtmlSafe

HtmlSafe::ALLOWED_URL_SCHEMES

Instance Attribute Summary

Attributes inherited from DocItem

#parent_doc, #parent_heading

Instance Method Summary collapse

Methods inherited from DocItem

#get_url, #owner_document, #split_table_cells

Methods inherited from TextLine

#bold, #bold_and_italic, broken_links, #format_string, #inline_code, #italic, #link, link_registry, link_registry=, #literal_text, #owner_document, record_broken_link, reset_broken_links, #wiki_link

Methods included from HtmlSafe

#escape_attr, #escape_text, #safe_url

Methods inherited from TextLineBuilderContext

#bold, #bold_and_italic, #inline_code, #italic, #link, #literal_text, #wiki_link

Constructor Details

#initializeDocFooter

Returns a new instance of DocFooter.



4
# File 'lib/almirah/doc_items/doc_footer.rb', line 4

def initialize; end

Instance Method Details

#to_htmlObject



6
7
8
9
10
11
12
13
# File 'lib/almirah/doc_items/doc_footer.rb', line 6

def to_html
  s = ''
  if @@html_table_render_in_progress
    s += "</table>\n"
    @@html_table_render_in_progress = false
  end
  s
end