Class: Relaton::Bib::Converter::BibXml::ToRfcxmlReferencegroup
- Inherits:
-
Object
- Object
- Relaton::Bib::Converter::BibXml::ToRfcxmlReferencegroup
- Defined in:
- lib/relaton/bib/converter/bibxml/to_rfcxml_referencegroup.rb
Instance Method Summary collapse
-
#initialize(item, include_keywords: true) ⇒ ToRfcxmlReferencegroup
constructor
A new instance of ToRfcxmlReferencegroup.
- #transform ⇒ Object
Constructor Details
#initialize(item, include_keywords: true) ⇒ ToRfcxmlReferencegroup
Returns a new instance of ToRfcxmlReferencegroup.
6 7 8 9 |
# File 'lib/relaton/bib/converter/bibxml/to_rfcxml_referencegroup.rb', line 6 def initialize(item, include_keywords: true) @item = item @include_keywords = include_keywords end |
Instance Method Details
#transform ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/relaton/bib/converter/bibxml/to_rfcxml_referencegroup.rb', line 11 def transform Rfcxml::V3::Referencegroup.new( anchor: create_anchor, target: create_target, reference: build_references, ) end |