Closed dylandy closed 7 years ago
Hey! It's a responsibility of a particular library (in you case it's statsample
).
You can implement your own library similar to that one, defining inspect
methods on object.
ICR allows you to require external libraries: https://github.com/greyblake/crystal-icr#require-local-files
Thanks a lot !
I wonder if there could be any APIs for library to show summary for the object that it create.
For example in irb there are something like :