Class: Pubid::Oiml::Identifiers::Annex
Constant Summary
Pubid::Oiml::Identifier::OIML_TYPE_MAP
Instance Attribute Summary
#requested_format
Instance Method Summary
collapse
#base_from_kv, #base_to_kv
from_hash, parse, #to_urn
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
|