Module: Coradoc::Mirror::Handlers::Footnote
- Defined in:
- lib/coradoc/mirror/handlers/footnote.rb
Overview
Handles Footnote and FootnoteReference.
Class Method Summary collapse
Class Method Details
.call(element, context:) ⇒ Object
8 9 10 |
# File 'lib/coradoc/mirror/handlers/footnote.rb', line 8 def self.call(element, context:) context.register_footnote(element) end |
.reference(element, context:) ⇒ Object
12 13 14 |
# File 'lib/coradoc/mirror/handlers/footnote.rb', line 12 def self.reference(element, context:) context.resolve_footnote_reference(element) end |