Class: Pubid::Jis::Identifiers::Standard

Inherits:
SingleIdentifier show all
Defined in:
lib/pubid/jis/identifiers/standard.rb

Constant Summary collapse

TYPED_STAGES =

Note: type is handled through TYPED_STAGES, not as a separate attribute The Components::Type dependency was removed as it doesn’t exist

[
  Pubid::Components::TypedStage.new(
    code: :pubjis,
    stage_code: :published,
    type_code: :jis,
    abbr: ["JIS"],
    name: "Japanese Industrial Standard",
    harmonized_stages: [],
  ),
].freeze

Constants inherited from SingleIdentifier

SingleIdentifier::TYPE_CLASSES

Class Method Summary collapse

Methods inherited from SingleIdentifier

identifier_class_for_type, #to_s

Methods inherited from Base

#==, #all_parts?, #code, #initialize, #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::Jis::Identifiers::Base

Class Method Details

.typeObject



21
22
23
# File 'lib/pubid/jis/identifiers/standard.rb', line 21

def self.type
  { key: :jis, title: "Japanese Industrial Standard", short: "JIS" }
end