Sha256: e63c3a9e48df1f9e38bf6f82b25d859fe9568905221cfffcc11e5957fb26689a
Contents?: true
Size: 310 Bytes
Versions: 12
Compression:
Stored size: 310 Bytes
Contents
module Bot @@configuration = nil def self.configure @@configuration = Configuration.new if block_given? yield configuration end configuration end def self.configuration @@configuration || configure end class Configuration attr_accessor :adapter, :redis end end
Version data entries
12 entries across 12 versions & 1 rubygems