Class: Pubid::Iec::Identifier::TechnicalSpecification
- Inherits:
-
Base
- Object
- Core::Identifier::Base
- Base
- Pubid::Iec::Identifier::TechnicalSpecification
- Defined in:
- lib/pubid/iec/identifier/technical_specification.rb
Constant Summary collapse
- PROJECT_STAGES =
{ adts: { abbr: "ADTS", name: "Approved for DTS", harmonized_stages: %w[40.99], }, cdts: { abbr: "CDTS", name: "Draft circulated as DTS", harmonized_stages: %w[50.20], }, dtsm: { abbr: "DTSM", name: "Rejected DTS to be discussed at meeting", harmonized_stages: %w[50.92], }, ndts: { abbr: "NDTS", name: "DTS rejected", harmonized_stages: %w[50.92], }, prvdts: { abbr: "PRVDTS", name: "Preparation of RVDTS", harmonized_stages: %w[50.60], }, tdts: { abbr: "TDTS", name: "Translation of DTS", harmonized_stages: %w[50.00], }, }.freeze
- TYPED_STAGES =
{ dts: { abbr: "DTS", name: "Draft Technical Specification", harmonized_stages: %w[50.00 50.20 50.60 50.92 50.98 50.99], } }.freeze
Instance Attribute Summary
Attributes inherited from Base
#conjuction_part, #database, #day, #decision_sheet, #fragment, #month, #part_version, #sheet, #test_type, #trf_publisher, #trf_series, #trf_version, #vap, #version
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
get_amendment_class, get_corrigendum_class, get_identifier, get_parser_class, get_renderer_class, get_transformer_class, get_update_codes, has_project_stage?, has_type?, #initialize, #lookup_typed_stage, #renderer_data, resolve_project_stage, #to_s, transform, transform_hash, #urn
Constructor Details
This class inherits a constructor from Pubid::Iec::Base
Class Method Details
.type ⇒ Object
47 48 49 |
# File 'lib/pubid/iec/identifier/technical_specification.rb', line 47 def self.type { key: :ts, title: "Technical Specification", short: "TS" } end |
Instance Method Details
#to_h(deep: true) ⇒ Object
51 52 53 |
# File 'lib/pubid/iec/identifier/technical_specification.rb', line 51 def to_h(deep: true) super.merge(type: "TS") end |