schmijos (Josua Schmid)
- Login: schmijos
- Registered on: 10/07/2022
- Last sign in: 10/07/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
10/07/2022
-
12:34 PM Ruby Feature #14022: String#surround
- I've got another example of how I'd like to use `surround` in Rails string building:
```rb
model_instance.name.presence&.surround('(%s)')
# or
model_instance.name.presence&.surround('(', ')')
```