Sha256: cbb9729040db5370889fe243023e79425a921898552830d10c80a6396553ce04
Contents?: true
Size: 476 Bytes
Versions: 13
Compression:
Stored size: 476 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 **args end end end
Version data entries
13 entries across 13 versions & 1 rubygems