diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-23 09:01:19 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-23 09:01:19 +0000 |
commit | 7c52f1ed7a25b61d6efda6d4a005ab9c1da541c6 (patch) | |
tree | 79f9b5399877a5b591dad091ebce3a918f0e9d6a /ChangeLog | |
parent | efa115e451f3c5f0b354a6a961041614430578f8 (diff) | |
download | ruby-7c52f1ed7a25b61d6efda6d4a005ab9c1da541c6.tar.gz |
* array.c (rb_ary_slice_bang): Be consistent with Array#slice()
and String#slice!(). Just return nil when a negative length or
out of boundary index is given instead of raising an exception
via internal functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Fri May 23 17:55:11 2008 Akinori MUSHA <knu@iDaemons.org> + + * array.c (rb_ary_slice_bang): Be consistent with Array#slice() + and String#slice!(). Just return nil when a negative length or + out of boundary index is given instead of raising an exception + via internal functions. + Fri May 23 16:44:34 2008 Akinori MUSHA <knu@iDaemons.org> * enumerator.c (Init_Enumerator): Override |