るりまサーチ

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

別のキーワード

  1. openssl g
  2. openssl g=
  3. dh g
  4. dsa g
  5. dsa g=

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Exception2MessageMapper#bind(cl) -> () (21101.0)

@todo

@todo

@param cl xxx

UDPSocket#bind(host, port) -> Integer (18229.0)

UDPSocket#bindのパラメータ host の名前解決に resolv ライブラリを使います。

...UDPSocket#bindのパラメータ host の名前解決に resolv
ライブラリを使います。

@param host bindするホスト名を文字列で指定します。
@param port bindするポートを指定します。
@raise SocketError 名前解決に失敗した場合に発生します。...

Fiddle::Importer#bind(signature, *opts) { ... } -> Fiddle::Function (18207.0)

Ruby のブロックを C の関数で wrap し、その関数をモジュールに インポートします。

...として定義されます。
また、Fiddle::Importer#[] で Fiddle::Function オブジェクトとして
取り出すことができます。

signature で関数の名前とシネグチャを指定します。例えば
"int compare(void*, void*)" のように指定します。

opts には :st...
...

@param signature 関数の名前とシネグチャ
@param opts オプション


require 'fiddle/import'

module M
extend Fiddle::Importer
dlload "libc.so.6"
typealias "size_t", "unsigned long"
extern "int qsort(void*, size_t, size_t, void*)"

bind
("int compare(...

Kernel.#binding -> Binding (12400.0)

変数・メソッドなどの環境情報を含んだ Binding オブジェクトを 生成して返します。通常、Kernel.#eval の第二引数として使います。

...変数・メソッドなどの環境情報を含んだ Binding オブジェクトを
生成して返します。通常、Kernel.#eval の第二引数として使います。

//emlist[例][ruby]{
def foo
a = 1
bind
ing
end

eval("p a", foo) #=> 1
//}

@see Kernel.#eval,Object::TOPLEVEL_BINDING...

Object::TOPLEVEL_BINDING -> Binding (12400.0)

トップレベルでの Binding オブジェクト。

...トップレベルでの Binding オブジェクト。

詳細は Binding を参照してください。...

絞り込み条件を変える

Proc#binding -> Binding (12400.0)

Proc オブジェクトが保持するコンテキストを Binding オブジェクトで返します。

...Proc オブジェクトが保持するコンテキストを
Bind
ing オブジェクトで返します。

//emlist[例][ruby]{
def fred(param)
proc {}
end

sample_proc = fred(99)
eval("param", sample_proc.binding) # => 99
//}...

TracePoint#binding -> Binding (12400.0)

発生したイベントによって生成された Binding オブジェクトを返します。

...発生したイベントによって生成された Binding オブジェクトを返します。


//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}...

TracePoint#binding -> Binding | nil (12400.0)

発生したイベントによって生成された Binding オブジェクトを返します。

...発生したイベントによって生成された Binding オブジェクトを返します。

C で記述されたメソッドは binding を生成しないため、
:c_call および :c_return イベントに対しては nil を返すことに注意してください。

//emlist[例][ruby]{
d...
...ef foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}...

static VALUE proc_binding(VALUE proc) (12200.0)

static VALUE rb_f_binding(VALUE self) (12200.0)

絞り込み条件を変える

<< 1 2 3 ... > >>