Sha256: ccaa7a50323feeb1ca37c93f9e91a5b7c75540900940db5aa211e283268a5048
Contents?: true
Size: 920 Bytes
Versions: 1
Compression:
Stored size: 920 Bytes
Contents
require 'multi_json' require 'naught' require 'yaml' require 'basquiat/support' require 'basquiat/errors' require 'basquiat/adapters' require 'basquiat/version' require 'basquiat/interfaces/base' # Overall namespace config class module Basquiat class << self # resets the gems configuration. Useful for testing and not much else def reset @configuration = Configuration.new end # @return [Configuration] returns or initializes the Configuration object def configuration @configuration ||= Configuration.new end # used to configure the gem using a block # @yieldparam [Configuration] configuration the current {Configuration} instance def configure yield configuration end # @return [Logger] shorthand for configuration.logger def logger configuration.logger end end end require_relative 'basquiat/rails/railtie.rb' if defined?(Rails)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.3.0.pre.1 | lib/basquiat.rb |