module _ToStr
A type thatโs implicitly convertible to a String.
Implicit .to_str conversions are usable all over Rubyโs stdlib, such as Kernel#abort, String#+, and Object#send. Virtually anywhere that accepts a String will also accept something that defines .to_str.
Types that define .to_str are also usable wherever paths are expected (See the path type alias).