3 ms·
Thank you, that makes sense.
by reaganing 15y ago
Thank you, that makes sense.
- getsat 15y agoInterpolation 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.