Class: Pubid::Ashrae::Identifiers::Standard

Inherits:
SingleIdentifier show all
Defined in:
lib/pubid/ashrae/identifiers/standard.rb

Overview

ASHRAE Standard identifier Example: ASHRAE Standard 15-2024, ASHRAE Standard 90.1-2022

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    abbr: ["Standard", "ASHRAE"],
    type_code: "standard",
    stage_code: "published",
  ),
  Components::TypedStage.new(
    abbr: ["P"],
    type_code: "standard",
    stage_code: "proposed",
    project_status: true,
  ),
  Components::TypedStage.new(
    abbr: ["R"],
    type_code: "standard",
    stage_code: "revision",
  ),
].freeze

Class Method Summary collapse

Methods inherited from SingleIdentifier

#to_s

Methods inherited from Base

parse

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

Constructor Details

This class inherits a constructor from Pubid::Identifier

Class Method Details

.typeObject



32
33
34
# File 'lib/pubid/ashrae/identifiers/standard.rb', line 32

def self.type
  { key: :standard, title: "ASHRAE Standard", short: "Standard" }
end