Class: DocFooter

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

Instance Attribute Summary

Attributes inherited from DocItem

#parent_doc, #parent_heading

Instance Method Summary collapse

Methods inherited from DocItem

#get_url

Methods inherited from TextLine

add_lazy_doc_id, #bold, #bold_and_italic, #format_string, #italic, #link

Methods inherited from TextLineBuilderContext

#bold, #bold_and_italic, #italic, #link

Constructor Details

#initializeDocFooter

Returns a new instance of DocFooter.



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

def initialize
end

Instance Method Details

#to_htmlObject



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

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