Class: Pubid::Ashrae::Identifiers::Guideline

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

Overview

ASHRAE Guideline identifier Example: ASHRAE Guideline 0-2019, ASHRAE Guideline 1.5

Constant Summary collapse

TYPED_STAGES =
[
  Components::TypedStage.new(
    abbr: ["Guideline", "ASHRAE"],
    type_code: "guideline",
    stage_code: "published",
  ),
  Components::TypedStage.new(
    abbr: ["P"],
    type_code: "guideline",
    stage_code: "proposed",
    project_status: true,
  ),
  Components::TypedStage.new(
    abbr: ["R"],
    type_code: "guideline",
    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/guideline.rb', line 32

def self.type
  { key: :guideline, title: "ASHRAE Guideline", short: "Guideline" }
end