summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2025-09-22 20:39:57 +0100
committergit <svn-admin@ruby-lang.org>2025-09-22 20:11:23 +0000
commit133e3889c1f77ca1eeedb49e19cca460f1dfa785 (patch)
tree0d4770fbe6d000ef44056ae926f0958ff585745d
parent378c4db4bbaf0c9ecd954a510a14c617a4ba4908 (diff)
[ruby/erb] [DOC] Correct two errors
https://github.com/ruby/erb/commit/1512314a3b
-rw-r--r--lib/erb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index de490c089e..b9b4ef7a1d 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -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