| Server IP : 162.214.74.102 / Your IP : 216.73.216.252 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Gem/UserInteraction/ |
Upload File : |
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@,[I"verbose;F@,[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[@$I"Gem;FcRDoc::NormalModule