Class: RelatonCalconnect::DocumentType
- Inherits:
-
RelatonBib::DocumentType
- Object
- RelatonBib::DocumentType
- RelatonCalconnect::DocumentType
- Defined in:
- lib/relaton_calconnect/document_type.rb
Constant Summary collapse
- DOCTYPES =
%w[ directive guide specification standard report administrative amendment technical\ corrigendum advisory ].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.
8 9 10 11 |
# File 'lib/relaton_calconnect/document_type.rb', line 8 def initialize(type:, abbreviation: nil) check_type type super end |