Method: Struct#inspect

Defined in:
struct.c

#to_sString #inspectString

Describe the contents of this struct in a string.

Overloads:


# File 'struct.c'

/*
 * call-seq:
 *   struct.to_s      -> string
 *   struct.inspect   -> string
 *
 * Describe the contents of this struct in a string.
 */

static VALUE
rb_struct_inspect(VALUE s)
{
    return rb_exec_recursive(inspect_struct, s, 0);
}