Sha256: 03ecf2439be3b50c8a5a35231e5356dabebf9425847c0e7c77dea8df82629628
Contents?: true
Size: 694 Bytes
Versions: 3
Compression:
Stored size: 694 Bytes
Contents
module RelatonItu class ItuBibliographicItem < RelatonBib::BibliographicItem TYPES = %w[ recommendation recommendation-supplement recommendation-amendment recommendation-corrigendum recommendation-errata recommendation-annex focus-group implementers-guide technical-paper technical-report joint-itu-iso-iec ].freeze # @params structuredidentifier [RelatonItu::StructuredIdentifier] def initialize(**args) # @doctype = args.delete :doctype if args[:doctype] && !TYPES.include?(args[:doctype]) warn "[relaton-itu] WARNING: invalid doctype: #{args[:doctype]}" end super # @doctype = args[:doctype] end end end
Version data entries
3 entries across 3 versions & 2 rubygems