Module: Expressir::Config

Included in:
Expressir
Defined in:
lib/expressir/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



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

def configuration
  @configuration ||= Configuration.new
end

#configureObject



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

def configure
  if block_given?
    yield configuration
  end
end