Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

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 659
def initialize
  super STDIN, STDOUT, STDERR, true
end