summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 07:07:18 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 07:07:18 +0000
commit4fa9e3307dd3b2cf3afea278a833a5d05ddb45de (patch)
tree02618f94e8a4499773936d258d2194696212d44f /lib
parent1f3bf4ce550e7c5208bf214884830daff876587b (diff)
* lib/erb.rb: Document ERB::new trim_mode '-' for lines ending in -%>
[ruby-core:51084] [Bug #7608] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/erb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index 3ca939c5c8..a73041f69a 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -740,6 +740,7 @@ class ERB
# % enables Ruby code processing for lines beginning with %
# <> omit newline for lines starting with <% and ending in %>
# > omit newline for lines ending in %>
+ # - omit blank lines ending in -%>
#
# _eoutvar_ can be used to set the name of the variable ERB will build up
# its output in. This is useful when you need to run multiple ERB