diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-26 08:22:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-26 08:22:33 +0000 |
commit | 77f1318878c194595d599ec7adf0b66d538af742 (patch) | |
tree | 7d8e6794c8b14219eb3a1902d6538ea27a239065 /lib | |
parent | 4e004061014c11a5d0cb6a04d7930268d7713176 (diff) | |
download | ruby-77f1318878c194595d599ec7adf0b66d538af742.tar.gz ruby-77f1318878c194595d599ec7adf0b66d538af742.tar.xz ruby-77f1318878c194595d599ec7adf0b66d538af742.zip |
* eval.c (Init_Proc): Block/Proc separation. [huge change]
* eval.c (block_arity): returns exact arity number for Procs out
of methods. also gives 1 for {|a|..}.
* string.c (rb_str_match): revert use of String#index for
invocation like string =~ string.
* eval.c (rb_Array): move Object#to_a exclusion hack from
splat_value(). need to be in eval.c for a while.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions