Moin!
Carl Youngblood wrote:
I’m confused by a problem I’m having trying to overload the to_s
operator so that my class will be accepted as a string where
applicable. Here’s a simplified version of the class:
You’re confusing #to_s with #to_str.
Thanks,
Carl
Regards,
Florian Gross