Class: Pubid::Ashrae::Identifiers::CombinedAddenda

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

Overview

CombinedAddenda identifier for ASHRAE standards and guidelines Represents multiple addendums grouped together Examples:

  • ASHRAE Addenda c and d to Standard 15-1994

  • ASHRAE Addenda f and h for Standard 15-2007

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    abbr: ["Addenda", "Combined Addenda"],
    type_code: "combined_addenda",
    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



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

def self.type
  { key: :combined_addenda, title: "ASHRAE Combined Addenda",
    short: "Addenda" }
end

Instance Method Details

#copublisherObject



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

def copublisher
  base_identifier&.copublisher
end