るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.014秒)
トップページ > クエリ:default[x] > バージョン:2.6.0[x] > クラス:IO[x]

別のキーワード

  1. uri default_port
  2. _builtin default
  3. socket ai_default
  4. generic default_port
  5. socket ip_default_multicast_ttl

検索結果

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

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

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

IO#external_encoding -> Encoding | nil (52.0)

IO の外部エンコーディングを返します。 外部エンコーディングが指定されていない場合は nil を返します。 ただし読み込み専用モードの場合は Encoding.default_external になります。

...
IO
の外部エンコーディングを返します。
外部エンコーディングが指定されていない場合は nil を返します。
ただし読み込み専用モードの場合は Encoding.default_external になります。

//emlist[例][ruby]{
IO
.write("testfile", "abcde")
File.ope...

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

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

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

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

@see IO.default_console_size...