obj.inspect â string
Instance Public methods
Returns a string containing a human-readable representation of
obj. By default, show the class name and the list of the instance
variables and their values (by calling inspect on each of them). User
defined classes should override this method to make better representation
of obj. When overriding this method, it should return a string
whose encoding is compatible with the default external encoding.
[ 1, 2, 3..4, 'five' ].inspect #=&