Module: Pubid::Core

Defined in:
lib/pubid-core.rb,
lib/pubid/core/type.rb,
lib/pubid/core/stage.rb,
lib/pubid/core/entity.rb,
lib/pubid/core/errors.rb,
lib/pubid/core/parser.rb,
lib/pubid/core/edition.rb,
lib/pubid/core/version.rb,
lib/pubid/core/amendment.rb,
lib/pubid/core/identifier.rb,
lib/pubid/core/supplement.rb,
lib/pubid/core/corrigendum.rb,
lib/pubid/core/transformer.rb,
lib/pubid/core/typed_stage.rb,
lib/pubid/core/configuration.rb,
lib/pubid/core/identifier/base.rb,
lib/pubid/core/harmonized_stage_code.rb

Defined Under Namespace

Modules: Errors, Identifier, Renderer Classes: Amendment, Configuration, Corrigendum, Edition, Entity, HarmonizedStageCode, Parser, Stage, Supplement, Transformer, Type, TypedStage

Constant Summary collapse

VERSION =
"1.12.10".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



5
6
7
# File 'lib/pubid-core.rb', line 5

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/pubid-core.rb', line 9

def self.configure
  yield(configuration)
end