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-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml