Sha256: 4a92d169a2f0730e88918812262928c6c698e32b85c93d4fbd77b176c55f8c72
Contents?: true
Size: 440 Bytes
Versions: 3
Compression:
Stored size: 440 Bytes
Contents
require "dolly/version" require "dolly/document" require "dolly/configuration" require 'dolly/railtie' if defined?(Rails) module Dolly class << self def configure yield config end def config @config ||= Configuration.new end def reset! @config = Configuration.new end def log_requests? !!config.log_requests end def logger @logger ||= config.logger end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dolly-1.1.7 | lib/dolly.rb |
dolly-1.1.6 | lib/dolly.rb |
dolly-1.1.5 | lib/dolly.rb |