module Garner
Constants
- VERSION
Public Class Methods
configure() { |Config| ... }
click to toggle source
Set the configuration options. Best used by passing a block.
@example Set up configuration options.
Garner.configure do |config| config.cache = Rails.cache end
@return [Config] The configuration object.
# File lib/garner/config.rb, line 11 def configure block_given? ? yield(Garner::Config) : Garner::Config end
Also aliased as: config