Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Ruby::Box.enabled?
Ruby::Box.enabled? → true or false
box.c
View on GitHub ↗
static VALUE
rb_box_s_getenabled(VALUE recv)
{
return RBOOL(rb_box_available());
}
Returns true if Ruby::Box is enabled.