Sha256: a618fb5725a3e9d4946a30d391715fa50d6f08a76aeb0a3518e4074ad06f1b76
Contents?: true
Size: 741 Bytes
Versions: 19
Compression:
Stored size: 741 Bytes
Contents
<% if redis_key_type(params[:key]) == 'string' %> <h1>Key "<%= params[:id] %>" is a string</h1> <h2>size: <%= redis_key_size(params[:id]) %></h2> <table class="table table-bordered"> <tr> <td><%= redis_get_array(key) %></td> </tr> </table> <% else %> <p class="sub"> Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = redis_key_size(params[:id]) %></b> </p> <h1>Key "<%= params[:id] %>" is a <%= redis_key_type(params[:id]) %></h1> <table class="table table-bordered"> <% redis_get_array(params[:id], start).each do |row| %> <tr> <td> <%= row %> </td> </tr> <% end %> </table> <%= pagination :start => start, :total => size %> <% end %>
Version data entries
19 entries across 19 versions & 5 rubygems