Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > rubygems/user_interactionライブラリ > Gem::StreamUIクラス > ask
ask(question) -> String | nil
質問をします。