class Gem::ConsoleUI
StreamUI 的子类,使用 $stdin、$stdout 和 $stderr 来实例化用户交互。
Public Class Methods
Source
# File lib/rubygems/user_interaction.rb, line 599 def initialize super $stdin, $stdout, $stderr, true end
Console UI 不需要参数,因为它默认从 stdin 读取输入,输出到 stdout,警告或错误输出到 stderr。
调用超类方法
Gem::StreamUI::new