Class: Gem::ConsoleUI (Ruby 2.3.4)

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()

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