Class: Pubid::Gost::Identifiers::IdenticalAdoption

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

Overview

Identical adoption (IDT per ISO Guide 2). The GOST is structurally and technically identical to the adopted foreign standard. The slash IS part of the official GOST designation.

Examples:

ГОСТ 31610.18-2016/IEC 60079-18:2014
ГОСТ Р 58904-2020/ISO/TR 25901-1:2016
ГОСТ 31425.5-2025/ISO 9902-5:2001

The MOD and NEQ degrees are NOT modeled here — they're bibliographic metadata (Relaton relations), not part of the identifier.

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/identical_adoption.rb', line 28

def self.type
  { key: :"identical-adoption", title: "Identical Adoption", short: nil }
end

Instance Method Details

#copublisherObject



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

def copublisher; base&.copublisher; end

#numberObject



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

def number; base&.number; end

#subtypeObject



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

def subtype; base&.subtype; end

#yearObject



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

def year; base&.year; end