Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Gem
/
UserInteraction
/
//opt/alt/ruby27/share/ri/system/Gem/UserInteraction/cdesc-UserInteraction.ri
U:RDoc::NormalModule[iI"UserInteraction:ETI"Gem::UserInteraction;T0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"PUserInteraction allows RubyGems to interact with the user through standard ;TI"Nmethods that can be replaced with more-specific UI methods for different ;TI"displays.;To:RDoc::Markup::BlankLine o; ;[I"MSince UserInteraction dispatches to a concrete UI class you may need to ;TI"Mreference other classes for specific behavior such as Gem::ConsoleUI or ;TI"Gem::SilentUI.;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I" class X ;TI"$ include Gem::UserInteraction ;TI" ;TI" def get_answer ;TI"1 n = ask("What is the meaning of life?") ;TI" end ;TI"end;T:@format0: @fileI"%lib/rubygems/user_interaction.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [[I" Gem::DefaultUserInteraction;To;;[ ; @$;0I"%lib/rubygems/user_interaction.rb;T[[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[I" alert;T@,[I"alert_error;T@,[I"alert_warning;T@,[I"ask;T@,[I"ask_for_password;T@,[I"ask_yes_no;T@,[I"choose_from_list;T@,[I"say;T@,[I"terminate_interaction;T@,[I"verbose;T@,[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"%lib/rubygems/user_interaction.rb;TI"Gem;TcRDoc::NormalModule