最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.037秒)
トップページ
>
クラス:
Proc
>
:
proc
>
:
binding
>
:ビルトイン
別のキーワード
_builtin to_proc
_builtin proc
proc curry
httpserver mount_proc
readline completion_proc
検索結果
先頭1件
Proc
#
binding -> Binding
Proc
#
binding -> Binding
(27261.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
Proc オブジェクトが保持するコンテキストを Binding オブジェクトで返します。
...
Proc
オブジェクトが保持するコンテキストを
Binding
オブジェクトで返します。
//emlist[例][ruby]{
def fred(param)
proc
{}
end
sample_
proc
= fred(99)
eval("param", sample_
proc
.
binding
) # => 99
//}
...
Binding