gearnode (Bryan Frimin)
- Login: gearnode
- Registered on: 04/11/2020
- Last sign in: 04/11/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/12/2020
-
11:54 AM Ruby Feature #16779: Add sprintf %q format option
- I am not aware of `%p` format option, this option exactly did what i try to solve.
Thanks.
Someone can close this issue?
04/11/2020
-
09:34 PM Ruby Feature #16779: Add sprintf %q format option
- The github pull request: https://github.com/ruby/ruby/pull/3019
-
06:06 PM Ruby Feature #16779 (Rejected): Add sprintf %q format option
- It would be great to have format option for quoted string for sprintf (like golang sprintf),
it's particularly useful to format log message for example.
Currently we have to do this:
``` ruby
sprintf("%s", some_value.inspect.dump)
...