Class: Pubid::Nist::Identifiers::Owmwp
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Identifier
- Base
- Pubid::Nist::Identifiers::Owmwp
- Defined in:
- lib/pubid/nist/identifiers/owmwp.rb
Overview
NIST OWMWP (Office of Weights and Measures Workshop Proceedings) Examples:
-
“NIST OWMWP 06-13-2018” - Date-based format MM-DD-YYYY
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( abbr: ["OWMWP", "NIST OWMWP"], stage_code: "published", type_code: "owmwp", ), ].freeze
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#edition_greater?, #extract_edition_number, #initialize, #language, #merge, #publisher, #revision, #to_s, #translation, #weight
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::Nist::Identifiers::Base
Class Method Details
.type ⇒ Object
23 24 25 26 |
# File 'lib/pubid/nist/identifiers/owmwp.rb', line 23 def type { key: :owmwp, title: "Office of Weights and Measures Workshop Proceedings", short: "OWMWP" } end |
.typed_stages ⇒ Object
19 20 21 |
# File 'lib/pubid/nist/identifiers/owmwp.rb', line 19 def typed_stages TYPED_STAGES end |
Instance Method Details
#series_code ⇒ Object
29 30 31 |
# File 'lib/pubid/nist/identifiers/owmwp.rb', line 29 def series_code "OWMWP" end |