diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 01:22:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 01:22:23 +0000 |
commit | 4e741f4b898b386023e9e4ae12dc1ff6a478c018 (patch) | |
tree | 76f6058ee5ab555f6a2e54c39b5a6a83fdcc1c42 /lib | |
parent | 83ead3c4a7dc2670bad06745eaccbdd0a9397f46 (diff) | |
download | ruby-4e741f4b898b386023e9e4ae12dc1ff6a478c018.tar.gz |
erb.rb: ERB#result does not accept a proc.
* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index 5d32c47774..3c3cabe209 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -837,7 +837,7 @@ class ERB # the results of that code. (See ERB::new for details on how this process # can be affected by _safe_level_.) # - # _b_ accepts a Binding or Proc object which is used to set the context of + # _b_ accepts a Binding object which is used to set the context of # code evaluation. # def result(b=new_toplevel) |