Class: Deplate::Regions::Footnote
- Inherits:
-
Deplate::Region::SecondOrder
- Object
- Element
- Deplate::Region
- Deplate::Region::SecondOrder
- Deplate::Regions::Footnote
- Defined in:
- lib/deplate/regions.rb
Instance Attribute Summary collapse
-
#fn_consumed ⇒ Object
Returns the value of attribute fn_consumed.
-
#fn_label ⇒ Object
Returns the value of attribute fn_label.
-
#fn_n ⇒ Object
Returns the value of attribute fn_n.
Instance Method Summary collapse
Methods inherited from Deplate::Region::SecondOrder
Methods inherited from Deplate::Region
check_file, clean_strings, #deprecated_regnote, deprecated_regnote, #finish_accum, #format_compound, regions, register_as, set_line_cont, #setup
Methods inherited from Element
#join_lines, #join_lines_re_zh_cn
Instance Attribute Details
#fn_consumed ⇒ Object
Returns the value of attribute fn_consumed.
658 659 660 |
# File 'lib/deplate/regions.rb', line 658 def fn_consumed @fn_consumed end |
#fn_label ⇒ Object
Returns the value of attribute fn_label.
658 659 660 |
# File 'lib/deplate/regions.rb', line 658 def fn_label @fn_label end |
#fn_n ⇒ Object
Returns the value of attribute fn_n.
658 659 660 |
# File 'lib/deplate/regions.rb', line 658 def fn_n @fn_n end |
Instance Method Details
#finish ⇒ Object
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 |
# File 'lib/deplate/regions.rb', line 660 def finish rv = super @prototype = Deplate::Element id = deprecated_regnote('id') if id @deplate.footnotes[id] = rv # @deplate.register_metadata(src, # "type" => "footnote", # "name" => id, # "value" => accum # ) else log('Missing arguments', :error) end return nil end |