Module: Metanorma::Generic

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

Defined Under Namespace

Classes: Configuration, 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 =
"1.11.0".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.


163
164
165
# File 'lib/metanorma/generic.rb', line 163

def configuration
  @configuration
end

Class Method Details

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

Yields:


169
170
171
172
# File 'lib/metanorma/generic.rb', line 169

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