1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/erb] Document that <% # doesn't work

[Bug #17846]

b58b188028
This commit is contained in:
Takashi Kokubun 2021-05-05 23:13:26 -07:00
parent f941dd5a9f
commit a7f7479872
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -46,7 +46,7 @@ require 'erb/version'
#
# <% Ruby code -- inline with output %>
# <%= Ruby expression -- replace with result %>
# <%# comment -- ignored -- useful in testing %>
# <%# comment -- ignored -- useful in testing %> (`<% #` doesn't work. Don't use Ruby comments.)
# % a line of Ruby code -- treated as <% line %> (optional -- see ERB.new)
# %% replaced with % if first thing on a line and % processing is used
# <%% or %%> -- replace with <% or %> respectively