[ruby/erb] [DOC] Correct two errors

https://github.com/ruby/erb/commit/1512314a3b
This commit is contained in:
BurdetteLamar 2025-09-22 20:39:57 +01:00 committed by git
parent 378c4db4bb
commit 133e3889c1

View File

@ -1173,12 +1173,12 @@ class ERB
# template = ERB.new(html)
# ```
#
# Create a base class that has `@arg1` and `arg2`:
# Create a base class that has `@arg1` and `@arg2`:
#
# ```
# class MyBaseClass
# def initialize(arg1, arg2)
# @arg1 = arg1;
# @arg1 = arg1
# @arg2 = arg2
# end
# end