Closed sebyx07 closed 2 months ago
imo, a lot of users would rather call buffer.to_s instead of the .string method, nobody atm depends on the .to_s. There already is .inspect that behaves like the current to_s
buffer.to_s
.to_s
https://bugs.ruby-lang.org/issues/20703?next_issue_id=20702
I can do a pr, but lmk if it's a good idea
I'm not sure whether the change is safe or not but let's try.
also added .to_str https://bugs.ruby-lang.org/issues/20703
imo, a lot of users would rather call
buffer.to_s
instead of the .string method, nobody atm depends on the.to_s
. There already is .inspect that behaves like the current to_shttps://bugs.ruby-lang.org/issues/20703?next_issue_id=20702
I can do a pr, but lmk if it's a good idea