Some handy information about working with those less-than-percent sign things that appear in Emulated Ruby, or .rhtml files.
example | what it does |
---|---|
<% ... %> | evaluate/execute ruby code |
<%= ... %> | evaluate & return to buffer (result will be included in output) |
<%- ... %> | strip whitespace before tag |
<% ... -%> | strip whitespace after tag |
Way cool! Some vefy valid points! I aappreciate yyou penningg his article and tthe rest off tthe sijte
is vefy good.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?