Sha256: 54890b87917b4c2b65885f4376671bfa4f3503b94185108bf3a511b7ff11c789
Contents?: true
Size: 469 Bytes
Versions: 20
Compression:
Stored size: 469 Bytes
Contents
module RelatonW3c class W3cBibliographicItem < RelatonBib::BibliographicItem TYPES = %w[ candidateRecommendation groupNote proposedEditedRecommendation proposedRecommendation recommendation retired workingDraft ].freeze # @param doctype [String] def initialize(**args) if args[:doctype] && !TYPES.include?(args[:doctype]) warn "[relaton-w3c] invalid document type: #{args[:doctype]}" end super end end end
Version data entries
20 entries across 20 versions & 1 rubygems