Module: Metanorma::Generic

Extended by:
Forwardable
Defined in:
lib/metanorma/generic.rb,
lib/metanorma/generic/front.rb,
lib/metanorma/generic/version.rb,
lib/metanorma/generic/converter.rb,
lib/metanorma/generic/processor.rb

Overview

rubocop:disable Style/MutableConstant

Defined Under Namespace

Classes: Configuration, Converter, DummyProcessor, Processor

Constant Summary collapse

ORGANIZATION_NAME_SHORT =
"Acme"
ORGANIZATION_NAME_LONG =
"Acme Corp."
DOCUMENT_NAMESPACE =
"https://www.metanorma.org/ns/generic"
YAML_CONFIG_FILE =
"metanorma.yml"
VERSION =
"2.7.1".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



198
199
200
# File 'lib/metanorma/generic.rb', line 198

def configuration
  @configuration
end

Class Method Details

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

Yields:



204
205
206
207
# File 'lib/metanorma/generic.rb', line 204

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end