What's the __repr__ equivalence in ruby?
- by prosseek
The repr function is fancy as it is called when print OBJECT is used automatically?
Is there a ruby equivalence for it? I thought it was to_s, but, I had p OBJECT doesn't seem to call the to_s method.