Class: Metanorma::Html::Drops::FootnoteDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Metanorma::Html::Drops::FootnoteDrop
- Defined in:
- lib/metanorma/html/drops/footnote_drop.rb
Instance Method Summary collapse
- #content_html ⇒ Object
-
#initialize(entry, content_html) ⇒ FootnoteDrop
constructor
A new instance of FootnoteDrop.
- #number ⇒ Object
- #reference ⇒ Object
Constructor Details
#initialize(entry, content_html) ⇒ FootnoteDrop
Returns a new instance of FootnoteDrop.
7 8 9 10 |
# File 'lib/metanorma/html/drops/footnote_drop.rb', line 7 def initialize(entry, content_html) @entry = entry @content_html = content_html end |
Instance Method Details
#content_html ⇒ Object
20 21 22 |
# File 'lib/metanorma/html/drops/footnote_drop.rb', line 20 def content_html @content_html end |
#number ⇒ Object
12 13 14 |
# File 'lib/metanorma/html/drops/footnote_drop.rb', line 12 def number @entry.number end |
#reference ⇒ Object
16 17 18 |
# File 'lib/metanorma/html/drops/footnote_drop.rb', line 16 def reference @entry.reference end |