Method: Coradoc::Element::BibliographyEntry#initialize
- Defined in:
- lib/coradoc/element/bibliography_entry.rb
#initialize(options = {}) ⇒ BibliographyEntry
Returns a new instance of BibliographyEntry.
6 7 8 9 10 11 |
# File 'lib/coradoc/element/bibliography_entry.rb', line 6 def initialize( = {}) @anchor_name = .fetch(:anchor_name, nil) @document_id = .fetch(:document_id, nil) @ref_text = .fetch(:ref_text, nil) @line_break = .fetch(:line_break, "") end |