Class: Pubid::Ieee::Identifiers::Corrigendum

Inherits:
SupplementIdentifier show all
Defined in:
lib/pubid/ieee/identifiers/corrigendum.rb

Overview

Corrigendum identifier for IEEE standards Represents corrections to published standards Example: IEEE Std 535-2013/Cor. 1-2017

Constant Summary collapse

TYPED_STAGES =

TYPED_STAGES for corrigendum Corrigendum uses “Cor” abbreviation

[
  Components::TypedStage.new(
    abbr: ["Cor"],
    type_code: "corrigendum",
    stage_code: "published",
  ),
].freeze

Instance Attribute Summary

Attributes inherited from Base

#code_obj, #draft_obj

Instance Method Summary collapse

Methods inherited from SupplementIdentifier

#code, #publisher

Methods inherited from Base

#code, #draft, #draft_month, #initialize, parse, parse_single, #publisher

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_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code, #year

Constructor Details

This class inherits a constructor from Pubid::Ieee::Identifiers::Base

Instance Method Details

#to_sObject



23
24
25
# File 'lib/pubid/ieee/identifiers/corrigendum.rb', line 23

def to_s
  render(format: :human)
end