Class: RelatonOasis::DocumentType
- Inherits:
-
RelatonBib::DocumentType
- Object
- RelatonBib::DocumentType
- RelatonOasis::DocumentType
- Defined in:
- lib/relaton_oasis/document_type.rb
Constant Summary collapse
- DOCTYPES =
%w[specification memorandum resolution standard].freeze
Instance Method Summary collapse
- #chceck_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.
5 6 7 8 |
# File 'lib/relaton_oasis/document_type.rb', line 5 def initialize(type:, abbreviation: nil) chceck_type type super end |