Class: Pubid::Idf::Identifiers::Amendment

Inherits:
SupplementIdentifier show all
Defined in:
lib/pubid/idf/identifiers/amendment.rb

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    code: :published,
    abbr: ["AMD"],
    short_abbr: "AMD",
    long_abbr: "AMD",
    type_code: :amd,
    stage_code: :published,
    name: "Amendment",
  ),
].freeze

Class Method Summary collapse

Methods inherited from SupplementIdentifier

#to_s

Methods inherited from Pubid::Idf::Identifier

#language_portion, #number_portion, parse, #publisher_portion, #to_s

Methods inherited from Pubid::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



21
22
23
# File 'lib/pubid/idf/identifiers/amendment.rb', line 21

def self.type
  { key: :amd, title: "Amendment", short: "AMD" }
end