diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-21 16:41:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-21 16:41:17 +0000 |
commit | 2b38c2e0fbd96eb4f0049dfb6c4f923ba84bd33d (patch) | |
tree | 238c550ab11d416349e3304450158d941681e553 | |
parent | 3d519d2d602d21a0bd4364d5d3be0c472ab4be5b (diff) | |
download | ruby-2b38c2e0fbd96eb4f0049dfb6c4f923ba84bd33d.tar.gz |
* string.c (rb_str_slice_bang): rdoc description bug fixed.
[ruby-core:09754]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_slice_bang): rdoc description bug fixed. + [ruby-core:09754] + Thu Dec 21 15:32:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may @@ -1935,10 +1935,7 @@ rb_str_insert(VALUE str, VALUE idx, VALUE str2) * str.slice!(other_str) => new_str or nil * * Deletes the specified portion from <i>str</i>, and returns the portion - * deleted. The forms that take a <code>Fixnum</code> will raise an - * <code>IndexError</code> if the value is out of range; the <code>Range</code> - * form will raise a <code>RangeError</code>, and the <code>Regexp</code> and - * <code>String</code> forms will silently ignore the assignment. + * deleted. * * string = "this is a string" * string.slice!(2) #=> 105 |