Class: Pubid::Iho::Identifiers::Publication
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Pubid::Identifier
- Base
- Pubid::Iho::Identifiers::Publication
- Defined in:
- lib/pubid/iho/identifiers/publication.rb
Overview
IHO Publication (P series). Examples: IHO P-1 1.0.0, IHO P-1/21 1.0.0, IHO P-6-3 1.0.0.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Pubid::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
.type ⇒ Object
9 10 11 |
# File 'lib/pubid/iho/identifiers/publication.rb', line 9 def self.type { key: :publication, title: "Publication", short: "P" } end |
Instance Method Details
#type ⇒ Object
13 14 15 |
# File 'lib/pubid/iho/identifiers/publication.rb', line 13 def type self.class.type end |