Class: Pubid::Iso::Identifier::Addendum

Inherits:
Supplement
  • Object
show all
Defined in:
lib/pubid/iso/identifier/addendum.rb

Constant Summary collapse

TYPED_STAGES =
{
  dad: {
    abbr: "DAD",
    name: "Draft Addendum",
    harmonized_stages: %w[],
  },
}.freeze

Instance Attribute Summary

Attributes inherited from Base

#addendum, #base, #dirtype, #iteration, #joint_document, #jtc_dir, #month, #scnumber, #sctype, #stage, #supplements, #tcnumber, #tctype, #wgnumber, #wgtype

Class Method Summary collapse

Methods inherited from Supplement

#base_has_edition?, #initialize, #urn

Methods inherited from Base

get_amendment_class, get_corrigendum_class, get_identifier, get_parser_class, get_transformer_class, get_update_codes, #initialize, #render_joint_document, #resolve_format, #root, supplement_by_type, supplements_has_type?, #to_s, transform, transform_supplements, type_match?, #urn

Constructor Details

This class inherits a constructor from Pubid::Iso::Identifier::Supplement

Class Method Details

.get_renderer_classObject



19
20
21
# File 'lib/pubid/iso/identifier/addendum.rb', line 19

def self.get_renderer_class
  Renderer::Addendum
end

.typeObject



15
16
17
# File 'lib/pubid/iso/identifier/addendum.rb', line 15

def self.type
  { key: :add, title: "Addendum", short: "ADD" }
end