Class: RelatonIho::DocumentType
- Inherits:
-
RelatonBib::DocumentType
- Object
- RelatonBib::DocumentType
- RelatonIho::DocumentType
- Defined in:
- lib/relaton_iho/document_type.rb
Constant Summary collapse
- DOCTYPES =
%w[policy-and-procedures best-practices supporting-document report legal directives proposal standard].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.
6 7 8 9 |
# File 'lib/relaton_iho/document_type.rb', line 6 def initialize(type:, abbreviation: nil) check_type type super end |