Class: Pubid::CenCenelec::Identifiers::TechnicalSpecification

Inherits:
SingleIdentifier show all
Defined in:
lib/pubid/cen_cenelec/identifiers/technical_specification.rb

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    code: :pubts,
    stage_code: :published,
    type_code: :ts,
    abbr: ["TS"],
    name: "Technical Specification",
    harmonized_stages: %w[60.00 60.60],
  ),
  Components::TypedStage.new(
    code: :prts,
    stage_code: :proposal,
    type_code: :ts,
    abbr: ["prTS"],
    name: "Proposal Technical Specification",
    harmonized_stages: %w[30.00 30.20 30.60 30.92 30.98 30.99],
  ),
].freeze

Class Method Summary collapse

Methods inherited from SingleIdentifier

#<=>, #to_s

Methods inherited from Identifier

#base_identifier, #eql?, #exclude, #hash, #initialize, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, #render, #resolve_urn_generator, #root, #to_mr_string, #to_s, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code

Constructor Details

This class inherits a constructor from Pubid::Identifier

Class Method Details

.typeObject



29
30
31
# File 'lib/pubid/cen_cenelec/identifiers/technical_specification.rb', line 29

def self.type
  { key: :ts, title: "Technical Specification", short: "TS" }
end