るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.023秒)

クラス

検索結果

IO.console_size -> [Integer, Integer] (25.0)

端末のサイズを [rows, columns] で返します。

端末のサイズを [rows, columns] で返します。

io/console が利用できない場合は、IO.default_console_size
の値を返します。

@see IO.default_console_size