Sha256: 7e179773175377cacfd7c94ebefebf4d4029052fd1206ab9ff6c48824b672c23
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
module Abaci class Metric def self.add(key) Abaci.store.sadd("#{ Abaci.options[:separator] }metrics", key) end def self.all Abaci.store.smembers("#{ Abaci.options[:separator] }metrics") end def self.remove(key) Abaci.store.srem("#{ Abaci.options[:separator] }metrics", key) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
abaci-0.3.0 | lib/abaci/metric.rb |