Class: Pubid::Amca::Identifiers::Standard

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/amca/identifiers/standard.rb

Overview

Standard identifier for ACMA standards Examples:

  • ANSI/AMCA 210-16

  • ANSI/AMCA Standard 99-25

  • AMCA Standard 803-02 (R2008)

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#base_hash, parse, #publisher, #to_s, #to_urn

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



12
13
14
# File 'lib/pubid/amca/identifiers/standard.rb', line 12

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

Instance Method Details

#typeObject



16
17
18
# File 'lib/pubid/amca/identifiers/standard.rb', line 16

def type
  Standard.type
end