28件ヒット
[1-28件を表示]
(0.155秒)
種類
- インスタンスメソッド (20)
- クラス (6)
- 特異メソッド (2)
クラス
キーワード
- BlockCaller (1)
- Enclosure (3)
- EnclosureBase (1)
- args (1)
- call (1)
- ctype (1)
- enclosure (2)
- enclosure= (1)
-
exit
_ value (1) - length (2)
- length= (2)
- new (2)
-
to
_ i (1) - type (2)
- type= (2)
- url (2)
- url= (2)
検索結果
先頭5件
-
Fiddle
:: Closure (81073.0) -
コールバック関数を表すクラスです。
コールバック関数を表すクラスです。
Ruby のメソッド(call)を C の関数ポインタとして表現するためのクラスです。
FFI の closure の wrapper です。
利用法としては、このクラスのサブクラスを作って
そのサブクラスに call メソッドを定義し、
new でオブジェクトを生成することで利用します。
require 'fiddle'
include Fiddle # TYPE_* を使うために include する
class Compare < Fiddle::Closure
# qsort の比較関数は 型が int(*)(v... -
RSS
:: Maker :: ItemsBase :: ItemBase :: EnclosureBase (54001.0) -
-
RSS
:: Maker :: RSS09 :: Items :: Item :: Enclosure (54001.0) -
-
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure (54001.0) -
RSS 2.0を生成するときだけ利用されます.
RSS 2.0を生成するときだけ利用されます.
url,length,typeを設定する必要があります. -
RSS
:: Rss :: Channel :: Item # enclosure (45601.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # enclosure= (45601.0) -
@todo
@todo -
Fiddle
:: Closure :: BlockCaller # call(*args) -> object (45301.0) -
wrap しているブロックを呼び出します。
wrap しているブロックを呼び出します。
そのブロックの返り値がこのメソッドの返り値となります。
@param args 引数 -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # length (45301.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # length=() (45301.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # url (45301.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # url=() (45301.0) -
@todo
@todo -
Fiddle
:: Closure :: BlockCaller (45019.0) -
Ruby のブロックをラップしたコールバック関数を表すクラスです。
Ruby のブロックをラップしたコールバック関数を表すクラスです。
Ruby のブロックを C の関数ポインタとして表現するためのクラスです。
require 'fiddle'
include Fiddle
libc = Fiddle.dlopen("/lib/libc.so.6")
qs = Fiddle::Function.new(libc["qsort"],
[TYPE_VOIDP, TYPE_INT, TYPE_INT, TYPE_VOIDP],
TYP... -
RSS
:: Rss :: Channel :: Item :: Enclosure (45001.0) -
-
Fiddle
:: Closure :: BlockCaller . new(ret , args , abi=Fiddle :: Function :: DEFAULT) { . . . } -> Fiddle :: Closure :: BlockCaller (37552.0) -
Ruby のブロックを呼び出す Fiddle::Closure オブジェクトを返します。
Ruby のブロックを呼び出す Fiddle::Closure オブジェクトを返します。
args、ret で関数の引数と返り値の型を指定します。
指定は Fiddle::Function.new と同様なので、そちら
を参照してください。
@param ret 返り値の型
@param args 引数の型を表す配列
@param abi 呼出規約 -
LocalJumpError
# exit _ value -> object (36637.0) -
例外 LocalJumpError を発生する原因となった break や return に渡した値を返します。
例外 LocalJumpError を発生する原因となった
break や return に渡した値を返します。
例:
def foo
proc { return 10 }
end
begin
foo.call
rescue LocalJumpError => err
p err # => #<LocalJumpError: return from block-closure>
p err.reason # => :return
p err.exit_value # => 10
e... -
RSS
:: Maker :: ItemsBase :: ItemBase # enclosure (36601.0) -
@todo
@todo -
Fiddle
:: Closure # to _ i -> Integer (36304.0) -
C の関数ポインタのアドレスを返します。
C の関数ポインタのアドレスを返します。 -
RSS
:: Rss :: Channel :: Item :: Enclosure # length (36301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Enclosure # length= (36301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Enclosure # url (36301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Enclosure # url= (36301.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # type (36001.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # type=() (36001.0) -
@todo
@todo -
Fiddle
:: Closure . new(ret , args , abi=Fiddle :: Function :: DEFAULT) -> Fiddle :: Closure (28252.0) -
そのクラスの call メソッドを呼びだすような Fiddle::Closure オブジェクトを返します。
そのクラスの call メソッドを呼びだすような
Fiddle::Closure オブジェクトを返します。
args、ret で関数の引数と返り値の型を指定します。
指定は Fiddle::Function.new と同様なので、そちら
を参照してください。
@param ret 返り値の型
@param args 引数の型を表す配列
@param abi 呼出規約 -
Fiddle
:: Closure # args -> [Integer] (27301.0) -
引数の型を表す配列を返します。
引数の型を表す配列を返します。 -
Fiddle
:: Closure # ctype -> Integer (27301.0) -
返り値の型を返します。
返り値の型を返します。 -
RSS
:: Rss :: Channel :: Item :: Enclosure # type (27001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Enclosure # type= (27001.0) -
@todo
@todo