Sha256: d0397f185a492a7e65438f8679625354f3a00c4d32bde081b083673bcea0c339

Contents?: true

Size: 646 Bytes

Versions: 669

Compression:

Stored size: 646 Bytes

Contents

   <tbody>
<%
n = 0
for item in list
    n += 1
 %>
    <tr class="<%= n % 2 == 0 ? 'even' : 'odd' %>">
     <td style="text-align: center"><%= n %></td>
     <td>
      <a href="/stocks/<%= item['symbol'] %>"><%= item['symbol'] %></a>
     </td>
     <td>
      <a href="<%= item['url'] %>"><%= item['name'] %></a>
     </td>
     <td>
      <strong><%= item['price'] %></strong>
     </td>
<% if item['change'] < 0.0 %>
     <td class="minus"><%= item['change'] %></td>
     <td class="minus"><%= item['ratio'] %></td>
<% else %>
     <td><%= item['change'] %></td>
     <td><%= item['ratio'] %></td>
<% end %>
    </tr>
<%
end
 %>
   </tbody>

Version data entries

669 entries across 201 versions & 47 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
brakeman-4.3.1 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
brakeman-4.3.1 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
brakeman-4.3.1 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
brakeman-4.3.0 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
brakeman-4.3.0 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
brakeman-4.3.0 bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml