Class: Pubid::Bsi::Identifiers::BritishStandard

Inherits:
SingleIdentifier show all
Defined in:
lib/pubid/bsi/identifiers/british_standard.rb

Overview

British Standard (BS) identifier

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    code: :pubbs,
    stage_code: :published,
    type_code: :bs,
    abbr: ["BS"],
    name: "British Standard",
    harmonized_stages: %w[60.00 60.60],
  ),
  Pubid::Components::TypedStage.new(
    code: :drbs,
    stage_code: :draft,
    type_code: :bs,
    abbr: ["Draft BS", "DBS"],
    name: "Draft British Standard",
    harmonized_stages: %w[30.00 30.20 30.60 40.00 40.20 40.60],
  ),
].freeze

Class Method Summary collapse

Methods inherited from SingleIdentifier

#<=>, #publisher, #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



27
28
29
# File 'lib/pubid/bsi/identifiers/british_standard.rb', line 27

def self.type
  { key: :bs, title: "British Standard", short: "BS" }
end