mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[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:
parent
2c7fd0734c
commit
f827b11629
@ -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 }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user