Sha256: 4a39e266a3f12c6498f60b90f2a35d8647d03d28eca40647f75dd62db71b3a9e

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

require 'bastet/version'
require 'bastet/base'
require 'bastet/group'

module Bastet
  class << self
    def redis
      @@redis
    end

    def redis=(redis)
      @@redis = redis
    end

    def groups
      @@groups ||= []
    end

    def groups=(groups)
      @@groups = groups
    end

    def setup(redis)
      self.redis = redis
      Bastet::Base.instance
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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