[DOC] [Feature #20205] Document the new power of String#+@
This commit is contained in:
parent
c3b0679241
commit
880a90cf2e
Notes:
git
2024-12-13 19:25:51 +00:00
3
string.c
3
string.c
@ -3188,7 +3188,8 @@ rb_str_freeze(VALUE str)
|
||||
* call-seq:
|
||||
* +string -> new_string or self
|
||||
*
|
||||
* Returns +self+ if +self+ is not frozen.
|
||||
* Returns +self+ if +self+ is not frozen and can be mutated
|
||||
* without warning issuance.
|
||||
*
|
||||
* Otherwise returns <tt>self.dup</tt>, which is not frozen.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user