Class: Pubid::Bipm::Identifiers::CommitteeDocument

Inherits:
Pubid::Bipm::Identifier show all
Defined in:
lib/pubid/bipm/identifiers/committee_document.rb

Overview

A committee document: a Recommendation (REC), Resolution (RES), Decision (DECN), Action (ACT) or Declaration (DECL) issued by one of the BIPM committees.

Printed forms (all round-trip):

"CCTF REC 2 (2012)"              short, language-neutral
"CCTF REC 2 (2012, E)"           short, with language
"CGPM DECL (1889)"               number-less
"CCL Recommendation 1 (2001)"    full English name  (form: "long")
"Recommandation 1 du CCL (2001)" full French name   (form: "long")

Constant Summary

Constants inherited from Pubid::Bipm::Identifier

Pubid::Bipm::Identifier::BIPM_TYPE_MAP, Pubid::Bipm::Identifier::GROUPS, Pubid::Bipm::Identifier::PUBLISHER, Pubid::Bipm::Identifier::TYPE_CODES, Pubid::Bipm::Identifier::TYPE_NAME_EN, Pubid::Bipm::Identifier::TYPE_NAME_FR, Pubid::Bipm::Identifier::TYPE_WORD_TO_CODE

Class Method Summary collapse

Methods inherited from Pubid::Bipm::Identifier

#exclude, french_connective, #long?, parse, #to_s

Methods inherited from Identifier

apply_mappings, #base, #base_document, concrete_class_for, #dated_version_of?, #draft_of?, #drop_supplements, #edition_of?, #eql?, #exclude, from_hash, #has_supplement?, #hash, #includes?, #initialize, #matches?, #mr_all_parts, #mr_edition, #mr_languages, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_subpart, #mr_supplement_suffix, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, polymorphic_type_map, #related_to?, #render, #resolve_urn_generator, #root, #sibling_of?, #supplement_of?, #to_hash, #to_mr_string, #to_s, #to_slug, #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



17
18
19
20
# File 'lib/pubid/bipm/identifiers/committee_document.rb', line 17

def self.type
  { key: :committee_document, web: :committee_document,
    title: "Committee Document", short: "committee-document" }
end