Module: Pubid::Ieee::Identifier
- Defined in:
- lib/pubid/ieee/identifier.rb
Overview
NOTE: intentionally does NOT ‘extend Pubid::IdentifierFacade`. IEEE’s ‘to_hash`/`from_hash` does not round-trip yet (e.g. `code`/`year` are dropped on rebuild), so the facade would advertise a `from_hash` that silently returns lossy objects — and a consumer’s ‘instance_of?(module)` validation can’t catch it. Re-enable once IEEE serialization round-trips cleanly. See identifier_facade.rb.
Class Method Summary collapse
Class Method Details
.parse(input) ⇒ Object
13 14 15 |
# File 'lib/pubid/ieee/identifier.rb', line 13 def parse(input) Identifiers::Base.parse(input) end |