Sha256: dc4086f985087152dc4a52fdfb06dbe8756643bf10d99a3c39a2d783aea32cc7

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

class FakeProcessManager

  def started_shards
    @started_shards ||= []
  end

  def start_shard(shard)
    started_shards << shard
  end

  def stopped_shards
    @stopped_shards ||= []
  end

  def stop_shard(shard)
    stopped_shards << shard
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_ring-0.1.3 spec/fakes/fake_process_manager.rb
redis_ring-0.1.2 spec/fakes/fake_process_manager.rb
redis_ring-0.1.1 spec/fakes/fake_process_manager.rb
redis_ring-0.1.0 spec/fakes/fake_process_manager.rb