R
Richard Sandoval
Please advise on my situation.
I have something like this
A Yaml file that contains
Application:
- App1
- App2
When I puts that yaml file for that application field, I get App1,App2.
How can I add quotes to each application. I'd like my output to be
"App1,App2" which includes the quotes in the output
I was thinking maybe through the use of gsub but I'm still new to ruby.
Could someone provide some aid?
I have something like this
A Yaml file that contains
Application:
- App1
- App2
When I puts that yaml file for that application field, I get App1,App2.
How can I add quotes to each application. I'd like my output to be
"App1,App2" which includes the quotes in the output
I was thinking maybe through the use of gsub but I'm still new to ruby.
Could someone provide some aid?