Class: Coradoc::CoreModel::Abbreviation
- Defined in:
- lib/coradoc/core_model/footnote.rb
Overview
Represents an abbreviation definition in a document
Abbreviations define the expansion of shortened terms. They are typically rendered with the full definition on first use.
Instance Attribute Summary collapse
-
#definition ⇒ String?
The full definition/expansion.
-
#term ⇒ String?
The abbreviated term.
Attributes inherited from Base
#element_attributes, #id, #metadata_entries, #title
Method Summary
Methods inherited from Base
#accept, #attr, #metadata, #semantically_equivalent?, #set_attr, #set_metadata
Instance Attribute Details
#definition ⇒ String?
Returns the full definition/expansion.
83 |
# File 'lib/coradoc/core_model/footnote.rb', line 83 attribute :definition, :string |
#term ⇒ String?
Returns the abbreviated term.
79 |
# File 'lib/coradoc/core_model/footnote.rb', line 79 attribute :term, :string |