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

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