356件ヒット
[1-100件を表示]
(0.124秒)
別のキーワード
ライブラリ
- ビルトイン (146)
- e2mmap (6)
- erb (24)
-
fiddle
/ import (12) -
irb
/ frame (36) - resolv-replace (12)
-
rubygems
/ installer (36) -
rubygems
/ specification (36) - socket (36)
- tracer (12)
クラス
- Binding (86)
- ERB (24)
-
Gem
:: Installer (36) -
Gem
:: Specification (36) - IPSocket (12)
-
IRB
:: Frame (36) - Method (24)
- Proc (12)
- Socket (12)
- TracePoint (12)
- Tracer (12)
- UDPSocket (24)
- UnboundMethod (12)
モジュール
- Exception2MessageMapper (6)
-
Fiddle
:: Importer (12)
キーワード
- === (6)
- [] (6)
-
add
_ bindir (12) -
bind
_ call (12) - binding (24)
- bindir (12)
- bindir= (12)
- bottom (12)
- call (12)
- eval (12)
-
generate
_ bin _ script (12) -
generate
_ bin _ symlink (12) -
generate
_ windows _ script (12) - irb (9)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
local
_ variables (11) - receiver (11)
- recvfrom (24)
-
recvfrom
_ nonblock (12) - result (12)
- run (12)
-
source
_ location (7) - top (12)
-
trace
_ func (24)
検索結果
先頭5件
-
Exception2MessageMapper
# bind(cl) -> () (21102.0) -
@todo
@todo
@param cl xxx -
UDPSocket
# bind(host , port) -> Integer (18230.0) -
UDPSocket#bindのパラメータ host の名前解決に resolv ライブラリを使います。
...UDPSocket#bindのパラメータ host の名前解決に resolv
ライブラリを使います。
@param host bindするホスト名を文字列で指定します。
@param port bindするポートを指定します。
@raise SocketError 名前解決に失敗した場合に発生します。... -
Fiddle
:: Importer # bind(signature , *opts) { . . . } -> Fiddle :: Function (18208.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(... -
Proc
# binding -> Binding (12401.0) -
Proc オブジェクトが保持するコンテキストを Binding オブジェクトで返します。
...Proc オブジェクトが保持するコンテキストを
Binding オブジェクトで返します。
//emlist[例][ruby]{
def fred(param)
proc {}
end
sample_proc = fred(99)
eval("param", sample_proc.binding) # => 99
//}... -
TracePoint
# binding -> Binding (12401.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 (12401.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
//}... -
Gem
:: Installer # generate _ bin _ script(filename , bindir) (9201.0) -
Gem に入っているアプリケーションを実行するためのスクリプトを作成します。
...Gem に入っているアプリケーションを実行するためのスクリプトを作成します。
@param filename ファイル名を指定します。
@param bindir 実行ファイルを配置するディレクトリを指定します。... -
Gem
:: Installer # generate _ bin _ symlink(filename , bindir) (9201.0) -
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
...Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
現在インストールされている Gem よりも新しい Gem をインストールするときは、
シンボリックリンクを更新します。
@param filename ファ......イル名を指定します。
@param bindir 実行ファイルを配置するディレクトリを指定します。... -
Gem
:: Installer # generate _ windows _ script(filename , bindir) (9201.0) -
コマンドの実行を容易にするために Windows 向けのバッチファイルを作成します。
...コマンドの実行を容易にするために Windows 向けのバッチファイルを作成します。
@param bindir 実行ファイルを配置するディレクトリを指定します。
@param filename ファイル名を指定します。... -
Gem
:: Specification # bindir -> String (9201.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。