Module: Metanorma::Config

Included in:
Metanorma
Defined in:
lib/metanorma/config/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



9
10
11
# File 'lib/metanorma/config/config.rb', line 9

def configuration
  @configuration ||= Configuration.new
end

#configureObject



3
4
5
6
7
# File 'lib/metanorma/config/config.rb', line 3

def configure
  if block_given?
    yield configuration
  end
end