Class: RelatonIec::DocumentType
- Inherits:
-
RelatonBib::DocumentType
- Object
- RelatonBib::DocumentType
- RelatonIec::DocumentType
- Defined in:
- lib/relaton_iec/document_type.rb
Constant Summary collapse
- DOCTYPES =
%w[ international-standard technical-specification technical-report publicly-available-specification international-workshop-agreement guide industry-technical-agreement system-reference-deliverable ].freeze
Instance Method Summary collapse
- #check_type(type) ⇒ Object
-
#initialize(type:, abbreviation: nil) ⇒ DocumentType
constructor
A new instance of DocumentType.
Constructor Details
#initialize(type:, abbreviation: nil) ⇒ DocumentType
Returns a new instance of DocumentType.
9 10 11 12 |
# File 'lib/relaton_iec/document_type.rb', line 9 def initialize(type:, abbreviation: nil) check_type type super end |