Hello Noel,
In message "[ruby-talk:10101] Possible bug in RubyUnit? Or just my bug?"
on 01/01/30, "Noel Rappin" <noel.rappin / openwave.com> writes:
> But my question is whether there is some bug in my class that would cause
> the hang from to_str? (At the time the class had no to_s method of its own
> defined). Does this change seem valid?
The to_str(obj) method calls obj.inspect (Object#inspect) if obj is
not String object.
What occurred if you run this script?
obj = Your_Class.new
puts obj.inspect
Regards,
Masaki Suketa