mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Tweaks for String#delete_prefix!
This commit is contained in:
parent
d38bb4ad1c
commit
55dd2022fd
2 changed files with 4 additions and 2 deletions
5
string.c
5
string.c
|
@ -11300,9 +11300,10 @@ deleted_prefix_length(VALUE str, VALUE prefix)
|
|||
* call-seq:
|
||||
* delete_prefix!(prefix) -> self or nil
|
||||
*
|
||||
* Like String#delete_prefix, except that +self+ is modified in place.
|
||||
* Returns +self+ if the prefix is removed, +nil+ otherwise.
|
||||
* Like String#delete_prefix, except that +self+ is modified in place;
|
||||
* returns +self+ if the prefix is removed, +nil+ otherwise.
|
||||
*
|
||||
* Related: see {Modifying}[rdoc-ref:String@Modifying].
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue