diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-12-13 13:41:07 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2024-12-13 14:25:32 -0500 |
| commit | 880a90cf2e56f9782b578fd48088c184bf3952ac (patch) | |
| tree | d50ea1267c8ec5a07edb6a03a7d6d580080e4bc0 /string.c | |
| parent | c3b06792410e99c32ff5c05580ffaef7d5f377c4 (diff) | |
[DOC] [Feature #20205] Document the new power of String#+@
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12341
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |
