From: Joseph Jones Date: 2015-12-17T21:05:43-07:00 Subject: [ruby-core:72240] [Ruby trunk - Feature #11782] [Open] String#+@ and String#-@ --56738617_46e87ccd_16c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Joseph Jones liked your message with Boxer. On December 7, 2015 at 03:13:= 39 MST, ko1=40atdot.net wrote:Issue =2311782 has been reported by Koichi = Sasada.----------------------------------------=46eature =2311782: String= =23+=40 and String=23-=40https://bugs.ruby-lang.org/issues/11782* Author:= Koichi Sasada* Status: Open* Priority: Normal* Assignee: Yukihiro Matsum= oto----------------------------------------Matz said > In fact, my best c= hoice is introducing =60String=23+=60 that returns a mutable copy of a st= ring.=5Bruby-core:71879=5D =5BRuby trunk - Bug =2311759=5D So that this i= s a ticket for that.I'll commit it ASAP to check this methods before 2.3.= Specification:* =60+'foo'=60 returns modifiable string.* =60-'foo'=60 ret= urns frozen string (because wasters will freeze below 0 degree in Celsius= ).-- https://bugs.ruby-lang.org/ --56738617_46e87ccd_16c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Joseph Jones liked your message with Boxer.


= On December 7, 2015 at 03:13:39 MST, ko1=40atdot.net wrote:
Issue =2311782 has been reported by= Koichi Sasada.

----------------------------------------
= =46eature =2311782: String=23+=40 and String=23-=40
https://bugs.rub= y-lang.org/issues/11782

* Author: Koichi Sasada
* Status:= Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
--= --------------------------------------
Matz said

> In fa= ct, my best choice is introducing =60String=23+=60 that returns a mutable= copy of a string.
=5Bruby-core:71879=5D =5BRuby trunk - Bug =231175= 9=5D

So that this is a ticket for that.
I'll commit it A= SAP to check this methods before 2.3.

Specification:

* =60+'foo'=60 returns modifiable string.
* =60-'foo'=60 returns f= rozen string (because wasters will freeze below 0 degree in Celsius).




--
https://bugs.ruby-lang.org/
--56738617_46e87ccd_16c--