Class: Pubid::Ieee::Identifiers::SiStandard
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Pubid::Identifier
- Base
- Pubid::Ieee::Identifiers::SiStandard
- 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 Base
Instance Method Summary collapse
Methods inherited from Base
#code, #draft, #draft_month, #initialize, parse, parse_single, #publisher
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_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code, #year
Constructor Details
This class inherits a constructor from Pubid::Ieee::Identifiers::Base
Instance Attribute Details
#draft_obj ⇒ Object
Use proper Draft component (Lutaml::Model object)
31 32 33 |
# File 'lib/pubid/ieee/identifiers/si_standard.rb', line 31 def draft_obj @draft_obj end |
Instance Method Details
#to_s ⇒ Object
33 34 35 |
# File 'lib/pubid/ieee/identifiers/si_standard.rb', line 33 def to_s render(format: :human) end |