Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Enumerator::Product#inspect
() -> ::String
obj.inspect → string
enumerator.c
View on GitHub ↗
static VALUE
enum_product_inspect(VALUE obj)
{
return rb_exec_recursive(inspect_enum_product, obj, 0);
}
Returns a printable version of the product enumerator.