mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c: fix typo in invoke_method documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53f22d3a05
commit
ba80fd2bbf
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Nov 7 05:17:24 2007 David Flanagan <davidflanagan@ruby-lang.org>
|
||||
|
||||
* eval.c: fix typo in invoke_method documentation
|
||||
|
||||
Wed Nov 7 03:52:26 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* array.c (rb_ary_product): core dumped with non array arguments.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -1498,7 +1498,7 @@ rb_f_send(int argc, VALUE *argv, VALUE recv)
|
|||
* obj.invoke_method(symbol [, args...]) => obj
|
||||
*
|
||||
* Invokes the method identified by _symbol_, passing it any
|
||||
* 1arguments specified. Unlike send, invoke_method calls public
|
||||
* arguments specified. Unlike send, invoke_method calls public
|
||||
* methods only, unless it's invoked in a function call style.
|
||||
*
|
||||
* 1.invoke_method(:puts, "hello") # causes NoMethodError
|
||||
|
|
Loading…
Add table
Reference in a new issue