Sha256: 2525e60d9e84bb23069aea0409b700891dee7b592d7989dfcc165cf00d3f62d9

Contents?: true

Size: 438 Bytes

Versions: 10

Compression:

Stored size: 438 Bytes

Contents

<% @keys.each do |key| %>
  <div class="key">
    <% kind = key_kind(key) %>
    <% if kind == 'string' %> 
      <a href="<%= root_path %>/get/<%= key %>"><%= key %></a> <%= (kind) %>
    <% elsif kind == 'set' %>
      <a href="<%= root_path %>/smembers/<%= key %>"><%= key %></a> <%= (kind) %>
    <% elsif kind == 'list' %>
      <a href="<%= root_path %>/list/<%= key %>"><%= key %></a> <%= (kind) %>
    <% end %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
boned-0.3.2 views/redisviewer/keys.erb
boned-0.3.1 views/redisviewer/keys.erb
boned-0.3.0 views/redisviewer/keys.erb
boned-0.2.6 views/redisviewer/keys.erb
boned-0.2.5 views/redisviewer/keys.erb
boned-0.2.4 views/redisviewer/keys.erb
boned-0.2.3 views/redisviewer/keys.erb
boned-0.2.2 views/redisviewer/keys.erb
boned-0.2.1 views/redisviewer/keys.erb
boned-0.2.0 views/redisviewer/keys.erb