Sha256: 70bf035e50ca9e2a2b14b25fefbbfe540bd01a5f9f59ba5c7ac7a5252894ecf7
Contents?: true
Size: 397 Bytes
Versions: 5
Compression:
Stored size: 397 Bytes
Contents
module RelatonJis class DocumentType < RelatonBib::DocumentType DOCTYPES = %w[japanese-industrial-standard technical-report technical-specification amendment].freeze def initialize(type:, abbreviation: nil) check_type type super end def check_type(type) unless DOCTYPES.include? type Util.warn "invalid doctype: `#{type}`" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems