Class: Pubid::Gost::Identifiers::Harmonized

Inherits:
Pubid::Gost::Identifier show all
Defined in:
lib/pubid/gost/identifiers/harmonized.rb

Overview

Harmonized standard. The GOST has been officially aligned with, modified from, or adopted directly from one or more foreign (typically ISO/IEC) standards. The parenthesized form is the Russian/CIS garmonizatsiya convention.

Examples:

ГОСТ 25346-2013 (ISO 286-1:2010)
ГОСТ 6032-2017 (ISO 3651-1:1998, ISO 3651-2:1998)
ГОСТ 6996-66 (ИСО 4136-89, ИСО 5173-81, ИСО 5177-81)

One GOST may harmonize with multiple foreign standards at once. The slash form (IdenticalAdoption) is reserved for the strict IDT case.

Constant Summary

Constants inherited from Pubid::Gost::Identifier

Pubid::Gost::Identifier::GOST_TYPE_MAP

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Pubid::Gost::Identifier

parse, #to_urn

Methods inherited from Identifier

apply_mappings, #base, #base_document, concrete_class_for, #dated_version_of?, #draft_of?, #drop_supplements, #edition_of?, #eql?, #exclude, from_hash, #has_supplement?, #hash, #includes?, #initialize, #matches?, #mr_all_parts, #mr_edition, #mr_languages, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_subpart, #mr_supplement_suffix, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, polymorphic_type_map, #related_to?, #render, #resolve_urn_generator, #root, #sibling_of?, #supplement_of?, #to_hash, #to_mr_string, #to_s, #to_slug, #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



28
29
30
# File 'lib/pubid/gost/identifiers/harmonized.rb', line 28

def self.type
  { key: :harmonized, title: "Harmonized Standard", short: nil }
end

Instance Method Details

#copublisherObject



34
# File 'lib/pubid/gost/identifiers/harmonized.rb', line 34

def copublisher; base&.copublisher; end

#numberObject



32
# File 'lib/pubid/gost/identifiers/harmonized.rb', line 32

def number; base&.number; end

#subtypeObject



35
# File 'lib/pubid/gost/identifiers/harmonized.rb', line 35

def subtype; base&.subtype; end

#yearObject



33
# File 'lib/pubid/gost/identifiers/harmonized.rb', line 33

def year; base&.year; end