Class: Pubid::Iala::Identifiers::Letter

Inherits:
Pubid::Iala::Identifier show all
Defined in:
lib/pubid/iala/identifiers/letter.rb

Overview

IALA Letters (L prefix). Numbering is dotted with a series, sub-series, and item: L2.1.11, L2.7.1-2 (the trailing -2 is a sub-part on top of the dotted number).

Constant Summary

Constants inherited from Pubid::Iala::Identifier

Pubid::Iala::Identifier::IALA_TYPE_MAP

Class Method Summary collapse

Methods inherited from Pubid::Iala::Identifier

parse, #to_urn, #type_letter

Methods inherited from Pubid::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



10
11
12
# File 'lib/pubid/iala/identifiers/letter.rb', line 10

def self.type
  { key: :letter, title: "Letter", short: "L" }
end