Sha256: eb65f7cf2c1f2a249175c1d0e1445fb8b96b9812440088a7fb147cd1c2a5a1a3

Contents?: true

Size: 125 Bytes

Versions: 4

Compression:

Stored size: 125 Bytes

Contents

class DatabaseList < Struct.new(:backend)
  def result
    backend.info.keys.map{|d| d.match(/db(\d+)/);$1}.compact
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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