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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Gem
/
UserInteraction
/
//opt/alt/ruby21/share/ri/2.1.0/system/Gem/UserInteraction/cdesc-UserInteraction.ri
U:RDoc::NormalModule[iI"UserInteraction:EFI"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;F@,[I"alert_error;F@,[I"alert_warning;F@,[I"ask;F@,[I"ask_for_password;F@,[I"ask_yes_no;F@,[I"choose_from_list;F@,[I"say;F@,[I"terminate_interaction;F@,[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@$I"Gem;FcRDoc::NormalModule