Sha256: f8e2a5e2037576e938aba139cd54602e684470e36a269787759edce30ebfb96f
Contents?: true
Size: 497 Bytes
Versions: 27
Compression:
Stored size: 497 Bytes
Contents
module RelatonW3c module BibXMLParser extend RelatonBib::BibXMLParser extend BibXMLParser # # Return PubID type # # @param [String] _ docidentifier # # @return [String] type # def pubid_type(_) "W3C" end def docids(reference, ver) ids = super ids.reject! &:primary id = "W3C #{reference[:target].split('/').last}" ids.unshift RelatonBib::DocumentIdentifier.new(id: id, type: "W3C", primary: true) end end end
Version data entries
27 entries across 27 versions & 1 rubygems