Class: Pubid::Ieee::Identifiers::SiStandard
- Inherits:
-
Pubid::Ieee::Identifier
- Object
- Lutaml::Model::Serializable
- Pubid::Identifier
- Pubid::Ieee::Identifier
- Pubid::Ieee::Identifiers::SiStandard
- Includes:
- CodeNumber
- Defined in:
- lib/pubid/ieee/identifiers/si_standard.rb
Overview
SI Standard (Système International) identifier IEEE/ASTM SI standards for metric system Handles both:
- SI: Published standards (IEEE/ASTM SI 10-1997)
- PSI: Proposed SI (drafts: IEEE/ASTM PSI 10/D2, October 2015)
Constant Summary collapse
- TYPED_STAGES =
TYPED_STAGES for SI standards
[ Components::TypedStage.new( abbr: ["SI"], type_code: "SI", stage_code: "published", ), Components::TypedStage.new( abbr: ["PSI"], type_code: "SI", stage_code: "draft", ), ].freeze
Instance Attribute Summary collapse
-
#draft_obj ⇒ Object
Use proper Draft component (Lutaml::Model object).
Attributes inherited from Pubid::Ieee::Identifier
Method Summary
Methods included from CodeNumber
#code_obj, included, #initialize, #rebuild_code_obj_from_split, #sync_split_from_code_obj
Methods inherited from Pubid::Ieee::Identifier
additional_identifier_classes, #code, #draft, #draft_month, #exclude, from_hash, #initialize, #mr_number_with_part, #mr_publisher, #mr_type, #mr_year, parse, parse_single, #publisher, #to_hash
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
Instance Attribute Details
#draft_obj ⇒ Object
Use proper Draft component (Lutaml::Model object)
34 35 36 |
# File 'lib/pubid/ieee/identifiers/si_standard.rb', line 34 def draft_obj @draft_obj end |