mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[ruby/erb] [DOC] Correct two errors
https://github.com/ruby/erb/commit/1512314a3b
This commit is contained in:
parent
378c4db4bb
commit
133e3889c1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user