Class: RelatonBib::FormattedRef

Inherits:
FormattedString show all
Defined in:
lib/relaton_bib/formatted_ref.rb

Constant Summary

Constants inherited from FormattedString

RelatonBib::FormattedString::FORMATS

Constants included from RelatonBib

VERSION

Instance Attribute Summary

Attributes inherited from FormattedString

#format

Attributes inherited from LocalizedString

#content, #language, #script

Instance Method Summary collapse

Methods inherited from FormattedString

#initialize, #to_hash

Methods inherited from LocalizedString

#empty?, #initialize, #to_hash, #to_s

Methods included from RelatonBib

parse_date

Constructor Details

This class inherits a constructor from RelatonBib::FormattedString

Instance Method Details

#to_xml(builder) ⇒ Object

Parameters:

  • (Nokogiri::XML::Builder)


6
7
8
# File 'lib/relaton_bib/formatted_ref.rb', line 6

def to_xml(builder)
  builder.formattedref { super }
end