module Lamby::Config

Public Instance Methods

config() click to toggle source
# File lib/lamby/config.rb, line 13
def config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source
# File lib/lamby/config.rb, line 4
def configure
  yield(config)
  config
end
reconfigure() { |c| ... } click to toggle source
# File lib/lamby/config.rb, line 9
def reconfigure
  config.reconfigure { |c| yield(c) if block_given? }
end