Sha256: b1aa7a0ad8fa145dcb3a89839f8768cb0aa4b2a22cf476bb8c2f72d7159daebf

Contents?: true

Size: 499 Bytes

Versions: 188

Compression:

Stored size: 499 Bytes

Contents

<%
#include <string>
#include <iostream>
#include <sstream>

int main(int argc, char *argv[])
{
    std::stringstream _buf;
%>
<html>
 <body>
  <p>Hello <%= argv[0] %>!</p>
  <table>
   <tbody>
    <% for (int i = 1; i < argc; i++) { %>
    <tr bgcolor="<%= i % 2 == 0 ? "#FFCCCC" : "#CCCCFF" %>">
      <td><%= i %></td>
      <td><%= argv[i] %></td>
    </tr>
    <% } %>
   </tbody>
  </table>
 </body>
</html>
<%
    std::string output = _buf.str();
    std::cout << output;
    return 0; 
}
%>

Version data entries

188 entries across 162 versions & 41 rubygems

Version Path
brakeman-3.7.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.7.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.6.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.6.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.6.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.5.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
abaci-0.3.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
brakeman-3.4.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp