Module: Pubid::Plateau

Defined in:
lib/pubid/plateau.rb,
lib/pubid/plateau/parser.rb,
lib/pubid/plateau/scheme.rb,
lib/pubid/plateau/builder.rb,
lib/pubid/plateau/identifiers.rb,
lib/pubid/plateau/urn_generator.rb,
lib/pubid/plateau/identifiers/base.rb,
lib/pubid/plateau/identifiers/annex.rb,
lib/pubid/plateau/identifiers/handbook.rb,
lib/pubid/plateau/supplement_identifier.rb,
lib/pubid/plateau/identifiers/technical_report.rb

Defined Under Namespace

Modules: Identifiers Classes: Builder, Parser, Scheme, SupplementIdentifier, UrnGenerator

Class Method Summary collapse

Class Method Details

.parse(input) ⇒ Object



14
15
16
17
18
19
20
# File 'lib/pubid/plateau.rb', line 14

def self.parse(input)
  # Apply legacy update_codes normalization first
  normalized = Core::UpdateCodes.apply(input, :plateau)
  parser = Parser.new
  parsed = parser.parse(normalized)
  Builder.build(parsed)
end