HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by reaganing | Hacker News Reader
Parent
Full thread
reaganing
·
Thank you, that makes sense.
View on HN
getsat
·
Interpolation actually calls #to_s on the object, so if object.respond_to?(:to_s) returns true, you can use use it inside #{} in any kind of string that allows interpolation.
Reply on news.ycombinator.com