Sha256: 62a05dee2be262e30fefaa7aecc938fa0d75f74ebefab12549fcb0d8570bce15
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
module RelatonW3c class W3cBibliographicItem < RelatonBib::BibliographicItem TYPES = %w[ candidateRecommendation groupNote proposedEditedRecommendation proposedRecommendation recommendation retired workingDraft technicalReport ].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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-w3c-1.13.1 | lib/relaton_w3c/w3c_bibliographic_item.rb |
relaton-w3c-1.13.0 | lib/relaton_w3c/w3c_bibliographic_item.rb |
relaton-w3c-1.12.4 | lib/relaton_w3c/w3c_bibliographic_item.rb |