33件ヒット
[1-33件を表示]
(0.034秒)
トップページ > :IO#cooked
別のキーワード
種類
- インスタンスメソッド (22)
- 文書 (11)
ライブラリ
-
io
/ console (22)
クラス
- IO (22)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) - cooked (11)
- cooked! (11)
検索結果
-
IO
# cooked {|io| . . . } -> object (62230.0) -
cooked モードを有効にして指定されたブロックを評価します。
...
cooked モードを有効にして指定されたブロックを評価します。
ブロック引数には self が渡されます。ブロックを評価した結果を返します。
@raise LocalJumpError ブロックを指定しなかった場合に発生します。
以下の例では、標......準入力からエコーバック付きで文字列を一行読み込みます。
require "io/console"
STDIN.cooked(&:gets)... -
IO
# cooked! -> self (30183.0) -
cooked モードを有効にします。端末のモードを後で元に戻す必要がある場合は IO#cooked を使用してください。
...
cooked モードを有効にします。端末のモードを後で元に戻す必要がある場合は
IO#cooked を使用してください。
@return 自身を返します。
@see IO#cooked... -
NEWS for Ruby 2
. 0 . 0 (138.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...警告しなくなりました
=== 組み込みクラスの更新
* ARGF.class
* 追加: ARGF.class#codepoints, ARGF.class#each_codepoint
IO にある同名のメソッドに対応します
* Array
* 追加: Array#bsearch 二分探索します
* 非互換:
* Array#shuf......* io/console
* 追加: IO#cooked which sets the terminal to cooked mode within the given block.
* 追加: IO#cooked! which sets the terminal to cooked.
* 拡張: IO#raw, IO#raw!, IO#getch キーワード引数 :min, :time を受け付けます。
* io/wait
* 追加: IO#wait_wr......* 追加: IO#wait_readable は IO#wait の別名です。
* json
* 1.7.7 に更新
* net/http
* 新機能
* Proxies are now automatically detected from the http_proxy environment
variable. See Net::HTTP.new for details.
* gzip and deflate compression are now re...