Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Bundler
/
Thor
/
Shell
/
Basic
/
//proc/thread-self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Bundler/Thor/Shell/Basic/ask-i.ri
U:RDoc::AnyMethod[iI"ask:ETI"$Bundler::Thor::Shell::Basic#ask;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Asks something to the user and receives a response.;To:RDoc::Markup::BlankLine o; ; [ I"AIf asked to limit the correct responses, you can pass in an ;TI"Darray of acceptable answers. If one of those is not supplied, ;TI"Dthey will be shown a message stating that one of those answers ;TI"-must be given and re-asked the question.;T@o; ; [I"FIf asking for sensitive information, the :echo option can be set ;TI"-to false to mask user input from $stdin.;T@o; ; [ I"BIf the required input is a path, then set the path option to ;TI"Ctrue. This will enable tab completion for file paths relative ;TI">to the current working directory on systems that support ;TI"Readline.;T@S:RDoc::Markup::Heading: leveli : textI"Example;To; ; [I"ask("What is your name?");T@o; ; [I"kask("What is your favorite Neopolitan flavor?", :limited_to => ["strawberry", "chocolate", "vanilla"]);T@o; ; [I"2ask("What is your password?", :echo => false);T@o; ; [I":ask("Where should the file be saved?", :path => true);T: @fileI"4lib/bundler/vendor/thor/lib/thor/shell/basic.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(statement, *args);T@-FI" Basic;TcRDoc::NormalClass00