Skip to content

Commit

Permalink
[DOC] [Feature #20205] Document the new power of String#+@
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Dec 13, 2024
1 parent 8230a43 commit b1286e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit b1286e4

Please sign in to comment.