Module | Gem::DefaultUserInteraction
In: | lib/rubygems/user_interaction.rb

Module that defines the default UserInteraction. Any class including this module will have access to the `ui` method that returns the default UI.

### Methods

ui ui ui= ui= use_ui use_ui

### Public Class methods

ui()

Return the default UI.

ui=(new_ui)

Set the default UI. If the default UI is never explicitly set, a simple console based UserInteraction will be used automatically.

use_ui(new_ui) {|| ...}

Use `new_ui` for the duration of `block`.

### Public Instance methods

ui()

See DefaultUserInteraction::ui

ui=(new_ui)

See DefaultUserInteraction::ui=

use_ui(new_ui, &block)

See DefaultUserInteraction::use_ui

[Validate]