diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-16 06:33:04 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-16 06:33:04 +0000 |
| commit | 19d95e898247e5555396f69017666b5429eccd2e (patch) | |
| tree | 71106d331cfaa0eee0dceb912e12e5879423f812 | |
| parent | 3b0bc50873bdaae9c6b8cca21a77ac08713e7042 (diff) | |
* eval.c (proc_arity): fixed rdoc. [ruby-core:18708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Mar 16 15:33:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (proc_arity): fixed rdoc. [ruby-core:18708] + Sun Mar 15 12:50:23 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * gc.c (run_final): frees zombies only. [ruby-dev:38171] @@ -9025,7 +9025,7 @@ static VALUE method_arity _((VALUE)); * arguments. A <code>proc</code> with no argument declarations * is the same a block declaring <code>||</code> as its arguments. * - * Proc.new {}.arity #=> 0 + * Proc.new {}.arity #=> -1 * Proc.new {||}.arity #=> 0 * Proc.new {|a|}.arity #=> 1 * Proc.new {|a,b|}.arity #=> 2 |
