るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.021秒)
トップページ > クエリ:gets[x] > クエリ:cooked[x]

別のキーワード

  1. _builtin gets
  2. irb/input-method gets
  3. io gets
  4. argf.class gets
  5. csv gets

ライブラリ

クラス

検索結果

IO#cooked {|io| ... } -> object (18129.0)

cooked モードを有効にして指定されたブロックを評価します。

...
cooked
モードを有効にして指定されたブロックを評価します。

ブロック引数には self が渡されます。ブロックを評価した結果を返します。

@raise LocalJumpError ブロックを指定しなかった場合に発生します。

以下の例では、標...
...準入力からエコーバック付きで文字列を一行読み込みます。

require "io/console"
STDIN.cooked(&:gets)...

NEWS for Ruby 2.0.0 (30.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...保持するための低レベルのクラスです。

* Proc
* 非互換: Proc#== と #eql? を削除。

* Process
* 追加: Process#getsid session id を取得します(unix のみ)。

* Range
* 追加: Range#size サイズの遅延評価
* 追加: Range#bsearch 二分探...
...した。String#encode を使ってください。

* 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 を受け付...
...TLSv1_1 and
OpenSSL::SSL::OP_NO_TLSv1_2.
* Added OpenSSL::SSL::SSLContext#renegotiation_cb. A user-defined callback
may be set which gets called whenever a new handshake is negotiated. This
also allows to programmatically decline (client) renegotiation attempts.
* Support f...