Sha256: d9f819330d8dbcc792b3f39166ca6b024e2339485c849e1c79041f1a201f4d61
Contents?: true
Size: 561 Bytes
Versions: 3
Compression:
Stored size: 561 Bytes
Contents
module RelatonItu class ItuBibliographicItem < RelatonIsoBib::IsoBibliographicItem 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 def initialize(**args) @doctype = args.delete :type if doctype && !TYPES.include?(doctype) raise ArgumentError, "invalid type: #{doctype}" end super end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-itu-0.3.4 | lib/relaton_itu/itu_bibliographic_item.rb |
relaton-itu-0.3.3 | lib/relaton_itu/itu_bibliographic_item.rb |
relaton-itu-0.3.2 | lib/relaton_itu/itu_bibliographic_item.rb |