Class: Pubid::Ieee::Identifiers::InterpretationIdentifier
- Inherits:
-
SupplementIdentifier
- Object
- Lutaml::Model::Serializable
- Pubid::Identifier
- Base
- SupplementIdentifier
- Pubid::Ieee::Identifiers::InterpretationIdentifier
- Defined in:
- lib/pubid/ieee/identifiers/interpretation_identifier.rb
Overview
Interpretation identifier for IEEE standards Represents an interpretation sheet or clarification Example: IEEE Std 1076/INT-1991, IEEE Std 1003.1-1988/INT
Constant Summary collapse
- TYPED_STAGES =
TYPED_STAGES for interpretation Interpretation uses “INT” abbreviation
[ Components::TypedStage.new( abbr: ["INT"], type_code: "interpretation", stage_code: "published", ), ].freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from SupplementIdentifier
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
Constructor Details
This class inherits a constructor from Pubid::Ieee::Identifiers::Base
Instance Method Details
#to_s ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/pubid/ieee/identifiers/interpretation_identifier.rb', line 22 def to_s return base_identifier.to_s unless base_identifier # Format: BASE/INT or BASE/INT-YEAR result = base_identifier.to_s result += "/INT" result += "-#{int_year}" if int_year result end |