Acoording to the Ruby's convention, to_str should not be defined for objects which doesn't act like String. Instead, to_s is generally recommended for printing purpose.