All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gem.gems.haml-3.1.1.test.haml.erb.action_view.erb Maven / Gradle / Ivy

There is a newer version: 1.263
Show newest version


  
    Hampton Catlin Is Totally Awesome
    
  
  
    

This is very much like the standard template, except that it has some ActionView-specific stuff. It's only used for benchmarking.

<%= render :partial => 'haml/erb/av_partial_1' %>
Yes, ladies and gentileman. He is just that egotistical. Fantastic! This should be multi-line output The question is if this would translate! Ahah! <%= 1 + 9 + 8 + 2 %> <%# numbers should work and this should be ignored %>
<% 120.times do |number| -%> <%= number %> <% end -%>
<%= " Quotes should be loved! Just like people!" %>
Wow.

<%= "Holy cow " + "multiline " + "tags! " + "A pipe (|) even!" %> <%= [1, 2, 3].collect { |n| "PipesIgnored|" } %> <%= [1, 2, 3].collect { |n| n.to_s }.join("|") %>

<% foo = String.new foo << "this" foo << " shouldn't" foo << " evaluate" %> <%= foo + "but now it should!" %> <%# Woah crap a comment! %>
    <% ('a'..'f').each do |a|%>
  • <%= a %> <% end %>
    <%= @should_eval = "with this text" %>
    <%= [ 104, 101, 108, 108, 111 ].map do |byte| byte.chr end %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy