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(options = {})
  @anchor_name = options.fetch(:anchor_name, nil)
  @document_id = options.fetch(:document_id, nil)
  @ref_text = options.fetch(:ref_text, nil)
  @line_break = options.fetch(:line_break, "")
end