lib/erb: Update doc [ci-skip] [doc]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
30ed82e772
commit
4eac6eb373
@ -291,7 +291,7 @@ class ERB
|
||||
# <i>Generates</i>:
|
||||
#
|
||||
# #coding:UTF-8
|
||||
# _erbout=+''; _erbout.<< -"Got "; _erbout.<<(( obj ).to_s); _erbout.<< -"!\n"; _erbout
|
||||
# _erbout=+''; _erbout.<<(-"Got "); _erbout.<<(( obj ).to_s); _erbout.<<(-"!\n"); _erbout
|
||||
#
|
||||
# By default the output is sent to the print method. For example:
|
||||
#
|
||||
@ -302,7 +302,7 @@ class ERB
|
||||
# <i>Generates</i>:
|
||||
#
|
||||
# #coding:UTF-8
|
||||
# print "Got "; print(( obj ).to_s); print "!\n"
|
||||
# print(-"Got "); print(( obj ).to_s); print(-"!\n")
|
||||
#
|
||||
# == Evaluation
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user