Ruby eruby
From wikinotes
A templating engine built using ruby. Commonly used within ruby rails .
File extension is .erb
.
Documentation
text helpers (ex: simple_formT) https://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html
Tags
<!-- comment --> <%# comment %> <!-- NOTE: no comments can escape eruby end '%>' --><!-- variable value --> <%= value %><!-- statements --> <% 5.times do %> <p>hello.</p> <% end %>
Rails Helpers
link_to('homepage', 'https://example.com')