Sha256: 479f5588217d75fb8b9cd47099483a7b8622027f4dd3d95698c022b6229aaa85
Contents?: true
Size: 410 Bytes
Versions: 8
Compression:
Stored size: 410 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
8 entries across 8 versions & 1 rubygems