Is it possible to override behavior of standard command when it accepts TclOO objects as an argument?
The idea is that: I create instance of particular class, and when I do puts $thisObject
it does not return the object reference but the special form as combination of internal data members (state) of this objects. So I don’t need a special method to print this state string, this way it works with built-in structures like dict as I understand.
Is it possible? Thank you in advance!