Skip to content

Commit 49dc988

Browse files
BurdetteLamarmatzbot
authored andcommitted
[ruby/erb] [DOC] Correct error in #make_compiler example
ruby/erb@5e6fea0417
1 parent b06639f commit 49dc988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/erb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ def initialize(str, safe_level=NOT_GIVEN, legacy_trim_mode=NOT_GIVEN, legacy_eou
881881
# for `trim_mode` values, see ERB.new:
882882
#
883883
# ```
884-
# template = ERB.new('').make_compiler(nil)
884+
# ERB.new('').make_compiler(nil)
885885
# # => #<ERB::Compiler:0x000001cff9467678 @insert_cmd="print", @percent=false, @post_cmd=[], @pre_cmd=[], @put_cmd="print", @trim_mode=nil>
886886
# ```
887887
#

0 commit comments

Comments
 (0)