Sha256: 5517ee54082e9952a7d08aa129b0d896aa279df8a976ed3b1bee2c676e16a2ed

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

require "waistband/version"

module Waistband
  
  autoload :Configuration,  "waistband/configuration"
  autoload :StringifyAll,   "waistband/stringify_all"
  autoload :QueryResult,    "waistband/query_result"
  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

2 entries across 2 versions & 1 rubygems

Version Path
waistband-0.1.1 lib/waistband.rb
waistband-0.0.15 lib/waistband.rb