Sha256: 5e27c02182b304a94bad531c7dbad7003e908ca6d1aba856d8b535a15aa2cd49
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
module RelatonIeee class DocumentStatus < RelatonBib::DocumentStatus class Stage < RelatonBib::DocumentStatus::Stage STAGES = %w[draft approved superseded withdrawn].freeze def initialize(value:, abbreviation: nil) unless STAGES.include?(value.downcase) Util.warn "Stage value must be one of `#{STAGES.join('`, `')}`" end super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relaton-ieee-1.16.1 | lib/relaton_ieee/document_status.rb |