Closed padi closed 10 years ago
I just saw your most recent commit: https://github.com/adomokos/light-service/commit/972c83ff66bf1d442804864fe42e627247d07b6c
Just want to ask why calling to_s within a string interpolation is safer than letting the interpolation call to_s for you.
to_s
http://stackoverflow.com/questions/10076579/string-concatenation-vs-interpolation-in-ruby
Feels more explicit. Send a PR to remove it if you'd like.
@padi: are you good with the code as it is? I'd like to close this issue if possible.
I just saw your most recent commit: https://github.com/adomokos/light-service/commit/972c83ff66bf1d442804864fe42e627247d07b6c
Just want to ask why calling
to_s
within a string interpolation is safer than letting the interpolation callto_s
for you.http://stackoverflow.com/questions/10076579/string-concatenation-vs-interpolation-in-ruby