14件ヒット
[1-14件を表示]
(0.037秒)
クラス
- Proc (14)
検索結果
-
Proc
. new -> Proc (9.0) -
ブロックをコンテキストとともにオブジェクト化して返します。
...ブロックをコンテキストとともにオブジェクト化して返します。
ブロックを指定しない場合、Ruby 2.7 では
$VERBOSE = true のときには警告メッセージ
「warning: Capturing the given block using Proc.new is deprecated; use `&block` instead」
が出力... -
Proc
. new { . . . } -> Proc (9.0) -
ブロックをコンテキストとともにオブジェクト化して返します。
...ブロックをコンテキストとともにオブジェクト化して返します。
ブロックを指定しない場合、Ruby 2.7 では
$VERBOSE = true のときには警告メッセージ
「warning: Capturing the given block using Proc.new is deprecated; use `&block` instead」
が出力...