Ruby 4.0 リファレンスマニュアル
Ruby 4.0 リファレンスマニュアル
ライブラリ一覧
irb/input-methodライブラリ
IRB::RelineInputMethodクラス
gets
instance method IRB::RelineInputMethod#gets
gets -> String
Ruby 3.2 から
[
permalink
][
rdoc
][
edit
]
標準入力から文字列を 1 行読み込みます。