Module: RelatonIeee::BibXMLParser

Extended by:
RelatonBib::BibXMLParser, BibXMLParser
Included in:
BibXMLParser
Defined in:
lib/relaton_ieee/bibxml_parser.rb

Instance Method Summary collapse

Instance Method Details

#bib_item(**attrs) ⇒ RelatonBib::IetfBibliographicItem

Parameters:

  • attrs (Hash)

Returns:

  • (RelatonBib::IetfBibliographicItem)


8
9
10
# File 'lib/relaton_ieee/bibxml_parser.rb', line 8

def bib_item(**attrs)
  IeeeBibliographicItem.new(**attrs)
end

#pubid_type(_) ⇒ String

Return PubID type

Parameters:

  • _ (String)

    docidentifier

Returns:

  • (String)

    type



19
20
21
# File 'lib/relaton_ieee/bibxml_parser.rb', line 19

def pubid_type(_)
  "IEEE"
end