るりまサーチ

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

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. socket udp_server_loop_on
  5. thread abort_on_exception

ライブラリ

クラス

モジュール

キーワード

検索結果

IO.console -> File | nil (24214.0)

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

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

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

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

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

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

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

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

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

@see IO.default_console_size...

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

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

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

Gem::DefaultUserInteraction.ui -> Gem::ConsoleUI (3201.0)

デフォルトの UI を返します。

デフォルトの UI を返します。