diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 04:16:23 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 04:16:23 +0000 |
commit | 7d848354f8e25a652ccaabbd54e106b44e7da308 (patch) | |
tree | 3d5a1a6ebebfd2859dd6c4eae991641dbd376020 /NEWS | |
parent | 4bfbff58a3743f7112def4b84fe56e5b9656d993 (diff) |
* string.c (rb_str_partition, rb_str_rpartition,
rb_str_start_with, rb_str_end_with): New methods:
String#partition, #rpartition, #start_with? and #end_with?;
backported from 1.9. These methods are $KCODE aware unlike
#index, #rindex and #include?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -70,6 +70,14 @@ with all sufficient information, see the ChangeLog file. * Regexp.union accepts an array of patterns. + * String#partition + * String#rpartition + * String#start_with? + * String#end_with? + + New methods. These are $KCODE aware unlike #index, #rindex and + #include?. + * StopIteration New exception class that causes Kernel#loop to stop iteration when |