My class is a library that allows users to read information/tags etc
When the class is initialized in irb the content of every single
variable is dumped to the console. This library parses a lot of data
various blocks, and has many data structures to hold it all. As such,
output can contain as much as two screens worth. Some of this data is
non-readable and is for ‘top-secret internal use only’. That is, it
secret, but it has no value or use to the user directly ;).
Anyway, I would really like to clean up this output and have irb print
Or perhaps the above with a brief enumeration of the blocks found and
sizes and/or offsets. To this end I tried defining the class’ to_s
and modifying the initialize method’s return value. Neither had an
How might I accomplish this?
Thanks for consideration,