File: C:/Ruby27-x64/share/ri/2.7.0/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;;[ ;
I"%lib/rubygems/user_interaction.rb;T;0I"3../ruby-2.7.7/lib/rubygems/user_interaction.rb;T[I" Gem::DefaultUserInteraction;To;;[ ;
@$;0I"3../ruby-2.7.7/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"Gem;TcRDoc::NormalModule