string.c: update rdoc of rb_str_slice_bang()
* string.c (rb_str_slice_bang): [DOC] update return value against a fixnum, which has changed because of M17N. [fix GH-631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a21ac07f69
commit
d9e00a7d00
@ -1,3 +1,8 @@
|
|||||||
|
Sun Jun 8 04:52:40 2014 Jun Hiroe <Jun.Hiroe@gmail.com>
|
||||||
|
|
||||||
|
* string.c (rb_str_slice_bang): [DOC] update return value against
|
||||||
|
a fixnum, which has changed because of M17N. [fix GH-631]
|
||||||
|
|
||||||
Sat Jun 7 22:13:42 2014 Benoit Daloze <eregontp@gmail.com>
|
Sat Jun 7 22:13:42 2014 Benoit Daloze <eregontp@gmail.com>
|
||||||
|
|
||||||
* numeric.c (do_coerce): Add a warning when an exception is raised
|
* numeric.c (do_coerce): Add a warning when an exception is raised
|
||||||
|
2
string.c
2
string.c
@ -3782,7 +3782,7 @@ rb_str_insert(VALUE str, VALUE idx, VALUE str2)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* str.slice!(fixnum) -> fixnum or nil
|
* str.slice!(fixnum) -> new_str or nil
|
||||||
* str.slice!(fixnum, fixnum) -> new_str or nil
|
* str.slice!(fixnum, fixnum) -> new_str or nil
|
||||||
* str.slice!(range) -> new_str or nil
|
* str.slice!(range) -> new_str or nil
|
||||||
* str.slice!(regexp) -> new_str or nil
|
* str.slice!(regexp) -> new_str or nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user