Sha256: 984f6ebcf2373b2a6842d9f41465039c55514f1e588a1471126557cd43dcc182
Contents?: true
Size: 250 Bytes
Versions: 6
Compression:
Stored size: 250 Bytes
Contents
module Switchman module StandardError def initialize(*args) @active_shards = Shard.send(:active_shards).dup super end def current_shard(category = :default) @active_shards[category] || Shard.default end end end
Version data entries
6 entries across 6 versions & 1 rubygems