File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ on the rules below:
3232``` erb
3333<% Ruby code -- inline with output %>
3434<%= Ruby expression -- replace with result %>
35- <%# comment -- ignored -- useful in testing %>
35+ <%# comment -- ignored -- useful in testing %> (`<% #` doesn't work. Don't use Ruby comments.)
3636% a line of Ruby code -- treated as <% line %> (optional -- see ERB.new)
3737%% replaced with % if first thing on a line and % processing is used
3838<%% or %%> -- replace with <% or %> respectively
Original file line number Diff line number Diff line change 4646#
4747# <% Ruby code -- inline with output %>
4848# <%= Ruby expression -- replace with result %>
49- # <%# comment -- ignored -- useful in testing %>
49+ # <%# comment -- ignored -- useful in testing %> (`<% #` doesn't work. Don't use Ruby comments.)
5050# % a line of Ruby code -- treated as <% line %> (optional -- see ERB.new)
5151# %% replaced with % if first thing on a line and % processing is used
5252# <%% or %%> -- replace with <% or %> respectively
You can’t perform that action at this time.
0 commit comments