When rubygems/test_case is required the default user interaction is a MockGemUi.

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

Class Methods
::

Return the default UI.

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

Use new_ui for the duration of block.

Instance Methods