Skip to content

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

Returns true if Ruby::Box is enabled.

See also .current .new #eval also in 4.0