summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Exojo <suy@badopi.org>2025-11-02 09:21:20 +0100
committergit <svn-admin@ruby-lang.org>2025-11-02 08:21:41 +0000
commitf827b116295aa37539aa55483eedea97c31aae17 (patch)
tree700266a73938699e362da2ad87ae0dbbeb9325be
parent2c7fd0734c53fabcb6ad5bc8965384f90bd29a2a (diff)
[ruby/erb] Fix typo in documentation
(https://github.com/ruby/erb/pull/91) https://github.com/ruby/erb/commit/6bceee7d6e
-rw-r--r--lib/erb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index 884a63035c..d3bbc4979c 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -467,7 +467,7 @@ require 'erb/util'
# ```
#
# You can give `trim_mode: '>'` to suppress the trailing newline
-# for each line that ends with `'%<'` (regardless of its beginning):
+# for each line that ends with `'%>'` (regardless of its beginning):
#
# ```
# ERB.new(template, trim_mode: '>').result.lines.each {|line| puts line.inspect }