Sha256: 0888853722c0f14ec5a6cc79e8136a1647b2c828c7f0ee41fe368ff9cfa1e854

Contents?: true

Size: 144 Bytes

Versions: 3

Compression:

Stored size: 144 Bytes

Contents

class SearchKeys < Struct.new(:backend, :key)
  def result
    backend.keys(key).map{|found| {key: found, value: backend.get(found)} }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redis_monitor-0.3.3 lib/engine/app/lib/commands/search_keys.rb
redis_monitor-0.3.2 lib/engine/app/lib/commands/search_keys.rb
redis_monitor-0.3 lib/engine/app/lib/commands/search_keys.rb