Sha256: 0083a1ace8e38a627e759f8ebb0a539e30ce5c5b66dfa6eb11e5dc9b22364f52

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 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 setup(redis)
      self.redis = redis
      Bastet::Base.instance
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bastet-0.1.0 lib/bastet.rb