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::BlankLineo; ;[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[i0o;;[; 0;0[@$I"Gem;FcRDoc::NormalModule