Class: Pubid::Oiml::Identifiers::Annex
- Inherits:
-
SupplementIdentifier
- Object
- Identifier
- Pubid::Oiml::Identifier
- SupplementIdentifier
- Pubid::Oiml::Identifiers::Annex
- Defined in:
- lib/pubid/oiml/identifiers/annex.rb
Constant Summary
Constants inherited from Pubid::Oiml::Identifier
Pubid::Oiml::Identifier::OIML_TYPE_MAP
Instance Attribute Summary
Attributes inherited from SupplementIdentifier
Instance Method Summary collapse
Methods inherited from SupplementIdentifier
#base_identifier_from_kv, #base_identifier_to_kv
Methods inherited from Pubid::Oiml::Identifier
Instance Method Details
#supplement_type ⇒ Object
18 19 20 |
# File 'lib/pubid/oiml/identifiers/annex.rb', line 18 def supplement_type letter ? "Annex #{letter}" : "Annexes" end |
#to_s(format: nil, **opts) ⇒ Object
22 23 24 25 |
# File 'lib/pubid/oiml/identifiers/annex.rb', line 22 def to_s(format: nil, **opts) @requested_format = format render(format: :human, **opts) end |