Sha256: 6728129d6dbb2d6f426c8d5788bab615bbc7309187169bee14d997ca045043df

Contents?: true

Size: 853 Bytes

Versions: 10

Compression:

Stored size: 853 Bytes

Contents

require "waistband/version"

module Waistband
  
  autoload :Configuration,    "waistband/configuration"
  autoload :Connection,       "waistband/connection"
  autoload :StringifiedArray, "waistband/stringified_array"
  autoload :StringifiedHash,  "waistband/stringified_hash"
  autoload :QueryResult,      "waistband/query_result"
  autoload :QueryHelpers,     "waistband/query_helpers"
  autoload :Query,            "waistband/query"
  autoload :Index,            "waistband/index"
  autoload :QuickError,       "waistband/quick_error"
  autoload :Model,            "waistband/model"

  class << self

    def configure
      yield ::Waistband::Configuration.instance if block_given?
      config_instance = ::Waistband::Configuration.instance
      config_instance.setup
      config_instance
    end
    alias_method :config, :configure

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
waistband-0.8.5 lib/waistband.rb
waistband-0.8.4 lib/waistband.rb
waistband-0.8.3 lib/waistband.rb
waistband-0.8.2 lib/waistband.rb
waistband-0.8.1 lib/waistband.rb
waistband-0.8.0 lib/waistband.rb
waistband-0.7.4 lib/waistband.rb
waistband-0.7.3 lib/waistband.rb
waistband-0.7.1 lib/waistband.rb
waistband-0.7.0 lib/waistband.rb