From 2b38c2e0fbd96eb4f0049dfb6c4f923ba84bd33d Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 21 Dec 2006 16:41:17 +0000 Subject: * 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 --- ChangeLog | 5 +++++ string.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e518168623..20e2f99401 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto + + * string.c (rb_str_slice_bang): rdoc description bug fixed. + [ruby-core:09754] + Thu Dec 21 15:32:19 2006 Yukihiro Matsumoto * lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may diff --git a/string.c b/string.c index 1e1fa33ebf..571be92069 100644 --- a/string.c +++ b/string.c @@ -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 str, and returns the portion - * deleted. The forms that take a Fixnum will raise an - * IndexError if the value is out of range; the Range - * form will raise a RangeError, and the Regexp and - * String forms will silently ignore the assignment. + * deleted. * * string = "this is a string" * string.slice!(2) #=> 105 -- cgit v1.2.3