Class: Pubid::Ashrae::Identifiers::Addendum

Inherits:
SupplementIdentifier show all
Defined in:
lib/pubid/ashrae/identifiers/addendum.rb

Overview

Addendum identifier for ASHRAE standards and guidelines Examples:

  • ASHRAE Addendum a to Standard 15-2001

  • ASHRAE Addendum a to Guideline 1.4-2019

  • ANSI/ASHRAE Addendum a to ANSI/ASHRAE Standard 15-2019

  • ASHRAE Standard 15-2013 Addendum a

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    abbr: ["Addendum", "Addenda"],
    type_code: "addendum",
    stage_code: "published",
  ),
].freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SupplementIdentifier

#code, #publisher

Methods inherited from Base

parse

Methods included from Pubid::Ashrae::Identifier

parse

Methods included from IdentifierFacade

#from_hash, #polymorphic_type_map

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, #year

Constructor Details

This class inherits a constructor from Pubid::Identifier

Class Method Details

.typeObject



26
27
28
# File 'lib/pubid/ashrae/identifiers/addendum.rb', line 26

def self.type
  { key: :addendum, title: "ASHRAE Addendum", short: "Addendum" }
end

Instance Method Details

#copublisherObject



30
31
32
# File 'lib/pubid/ashrae/identifiers/addendum.rb', line 30

def copublisher
  base_identifier&.copublisher
end