Class: Relaton::Bib::Converter::BibXml::FromRfcxmlReferencegroup
- Inherits:
-
Object
- Object
- Relaton::Bib::Converter::BibXml::FromRfcxmlReferencegroup
- Includes:
- NamespaceHelper
- Defined in:
- lib/relaton/bib/converter/bibxml/from_rfcxml_referencegroup.rb
Instance Method Summary collapse
-
#initialize(reference) ⇒ FromRfcxmlReferencegroup
constructor
A new instance of FromRfcxmlReferencegroup.
- #transform ⇒ Object
Methods included from NamespaceHelper
Constructor Details
#initialize(reference) ⇒ FromRfcxmlReferencegroup
Returns a new instance of FromRfcxmlReferencegroup.
8 9 10 |
# File 'lib/relaton/bib/converter/bibxml/from_rfcxml_referencegroup.rb', line 8 def initialize(reference) @reference = reference end |
Instance Method Details
#transform ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/relaton/bib/converter/bibxml/from_rfcxml_referencegroup.rb', line 12 def transform namespace::ItemData.new( docnumber: @reference.anchor.sub(/^\w+\./, ""), type: "standard", docidentifier: docidentifiers, source: source, relation: relation, ) end |