Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem::DefaultUserInteraction.use_ui

use_ui(new_ui) { || ... }

Use new_ui for the duration of block.

See also #use_ui .ui= #ui .ui also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0