Sha256: 21fbe1c7bf3f92202350fb11db1f1d5a1abdd5b71da8dbb70d7d583602e51cff

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require 'active_record'

require 'mixed_gauge/version'
require 'mixed_gauge/errors'
require 'mixed_gauge/cluster_config'
require 'mixed_gauge/config'
require 'mixed_gauge/routing'
require 'mixed_gauge/sub_model_repository'
require 'mixed_gauge/model'

module MixedGauge
  class << self
    # @return [MixedGauge::Config]
    def config
      @config ||= Config.new
    end

    def configure(&block)
      config.instance_eval(&block)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mixed_gauge-0.1.2 lib/mixed_gauge.rb
mixed_gauge-0.1.1 lib/mixed_gauge.rb