Module: Pubid::Bsi::Identifier
- Extended by:
- Core::Identifier
- Defined in:
- lib/pubid/bsi/identifier.rb,
lib/pubid/bsi/identifier/base.rb,
lib/pubid/bsi/identifier/flex.rb,
lib/pubid/bsi/identifier/amendment.rb,
lib/pubid/bsi/identifier/corrigendum.rb,
lib/pubid/bsi/identifier/draft_document.rb,
lib/pubid/bsi/identifier/national_annex.rb,
lib/pubid/bsi/identifier/british_standard.rb,
lib/pubid/bsi/identifier/expert_commentary.rb,
lib/pubid/bsi/identifier/published_document.rb,
lib/pubid/bsi/identifier/publicly_available_specification.rb
Defined Under Namespace
Classes: Amendment, Base, BritishStandard, Corrigendum, DraftDocument, ExpertCommentary, Flex, NationalAnnex, PubliclyAvailableSpecification, PublishedDocument
Class Method Summary collapse
Class Method Details
.parse(*args) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/pubid/bsi/identifier.rb', line 7 def parse(*args) Pubid::Iec::Identifier.parse(*args) rescue Pubid::Core::Errors::ParseError begin Base.parse(*args) rescue Pubid::Core::Errors::ParseError Pubid::Iso::Identifier.parse(*args) end end |