[ruby/erb] Fix typo in documentation

(https://github.com/ruby/erb/pull/91)

https://github.com/ruby/erb/commit/6bceee7d6e
This commit is contained in:
Alejandro Exojo 2025-11-02 09:21:20 +01:00 committed by git
parent 2c7fd0734c
commit f827b11629

View File

@ -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 }