Class: Pubid::Jis::Identifiers::Explanation
- Inherits:
-
SupplementIdentifier
- Object
- Lutaml::Model::Serializable
- Identifier
- Pubid::Jis::Identifier
- SingleIdentifier
- SupplementIdentifier
- Pubid::Jis::Identifiers::Explanation
- Defined in:
- lib/pubid/jis/identifiers/explanation.rb
Overview
Explanation identifier type Format: base/EXPL[ number] Examples:
JIS K 2151:2004/EXPL
JIS K 2249-4:2011/EXPL 4
Constant Summary
Constants inherited from SingleIdentifier
SingleIdentifier::TYPE_CLASSES
Constants inherited from Pubid::Jis::Identifier
Pubid::Jis::Identifier::JIS_TYPE_MAP, Pubid::Jis::Identifier::PUBLISHER
Instance Attribute Summary
Attributes inherited from SingleIdentifier
Instance Method Summary collapse
Methods inherited from SupplementIdentifier
Methods inherited from SingleIdentifier
identifier_class_for_type, #to_s
Methods inherited from Pubid::Jis::Identifier
#==, #all_parts?, #code, from_hash, parse, #reaffirmed?, #symbol_suffix, #to_s, #year_with_reaffirmation
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, #year
Constructor Details
This class inherits a constructor from Pubid::Identifier
Instance Method Details
#supplement_notation ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/pubid/jis/identifiers/explanation.rb', line 12 def supplement_notation if number "EXPL #{number}" else "EXPL" end end |