summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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