Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rubygems/user_interaction.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Gem::ConsoleUI

Subclass of StreamUI that instantiates the user interaction using STDIN, STDOUT, and STDERR.

Public Class Methods

new() click to toggle source

The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.

 
               # File rubygems/user_interaction.rb, line 665
def initialize
  super STDIN, STDOUT, STDERR, true
end