るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.070秒)
トップページ > 種類:特異メソッド[x] > バージョン:2.7.0[x] > クエリ:I[x] > ライブラリ:io/console[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

クラス

キーワード

検索結果

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

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

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

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

@see IO.default_console_size...

IO.default_console_size -> [Integer, Integer] (18307.0)

デフォルトの端末のサイズを [rows, columns] で返します。

デフォルトの端末のサイズを [rows, columns] で返します。

IO.console -> File | nil (9610.0)

端末を File オブジェクトで返します。

...端末を File オブジェクトで返します。

require "io/console"
IO.console # => #<File:/dev/tty>

プロセスが端末から切り離された状態で実行すると nil を返します。

戻り値はプラットフォームや環境に依存します。...