Class: Pubid::Iso::Identifier::PubliclyAvailableSpecification

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/iso/identifier/publicly_available_specification.rb

Constant Summary collapse

TYPED_STAGES =
{
  dpas: {
    abbr: "DPAS",
    name: "Publicly Available Specification Draft",
    harmonized_stages: %w[40.00 40.20 40.60 40.92 40.93 40.98 40.99],
  },
  fdpas: {
    abbr: "FDPAS",
    name: "Publicly Available Specification Final Draft",
    harmonized_stages: %w[50.00 50.20 50.60 50.92 50.98 50.99],
  },
}.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 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::Base

Class Method Details

.get_renderer_classObject



25
26
27
# File 'lib/pubid/iso/identifier/publicly_available_specification.rb', line 25

def self.get_renderer_class
  Renderer::PubliclyAvailableSpecification
end

.typeObject



21
22
23
# File 'lib/pubid/iso/identifier/publicly_available_specification.rb', line 21

def self.type
  { key: :pas, title: "Publicly Available Specification", short: "PAS" }
end