Class: Pubid::CenCenelec::Identifiers::EuropeanNorm

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

Overview

European Norm (EN) identifier

Direct Known Subclasses

AdoptedEuropeanNorm

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    code: :puben,
    stage_code: :published,
    type_code: :en,
    abbr: ["EN"],
    name: "European Norm",
    harmonized_stages: %w[60.00 60.60],
  ),
  Components::TypedStage.new(
    code: :pren,
    stage_code: :proposal,
    type_code: :en,
    abbr: ["prEN"],
    name: "Proposal European Norm",
    harmonized_stages: %w[30.00 30.20 30.60 30.92 30.98 30.99],
  ),
  Components::TypedStage.new(
    code: :fpren,
    stage_code: :final_proposal,
    type_code: :en,
    abbr: ["FprEN"],
    name: "Final Proposal European Norm",
    harmonized_stages: %w[40.00 40.20 40.60 40.92 40.98 40.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



35
36
37
# File 'lib/pubid/cen_cenelec/identifiers/european_norm.rb', line 35

def self.type
  { key: :en, title: "European Norm", short: "EN" }
end