Module: Relaton::Config

Included in:
Relaton
Defined in:
lib/relaton/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject


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

def configuration
  @configuration ||= Configuration.new
end

#configureObject


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

def configure
  if block_given?
    yield configuration
  end
end