678件ヒット
[1-100件を表示]
(0.166秒)
ライブラリ
- ビルトイン (421)
- continuation (24)
- fiddle (24)
- logger (24)
-
minitest
/ unit (17) -
net
/ http (24) - openssl (108)
-
syslog
/ logger (12) -
webrick
/ httpserver (24)
クラス
- BasicObject (24)
- Continuation (24)
- Exception (8)
-
Fiddle
:: Closure :: BlockCaller (12) -
Fiddle
:: Function (12) - Hash (12)
- Logger (12)
-
Logger
:: Formatter (12) - Method (91)
- Module (12)
-
Net
:: HTTP (24) - Object (24)
-
OpenSSL
:: SSL :: SSLContext (84) -
OpenSSL
:: X509 :: Store (24) - Symbol (12)
-
Syslog
:: Logger (12) - Thread (42)
-
Thread
:: Backtrace :: Location (48) - TracePoint (82)
- UnboundMethod (18)
-
WEBrick
:: HTTPServer (24)
モジュール
- Enumerable (48)
-
MiniTest
:: Assertions (17)
キーワード
- << (7)
- === (8)
- >> (7)
- [] (24)
-
absolute
_ path (12) -
add
_ trace _ func (12) - assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) -
base
_ label (12) - bind (6)
-
bind
_ call (12) -
callee
_ id (12) - curry (22)
-
default
_ proc (12) -
defined
_ class (12) - detect (24)
- event (12)
- find (24)
- formatter= (24)
- inspect (12)
-
instance
_ eval (24) -
instance
_ method (12) - lineno (12)
- method (12)
-
method
_ id (12) -
mount
_ proc (24) - parameters (7)
- path (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - self (3)
-
session
_ get _ cb= (12) -
session
_ new _ cb= (12) -
session
_ remove _ cb= (12) -
set
_ trace _ func (12) -
singleton
_ method (12) - skip (1)
-
super
_ method (11) -
tmp
_ dh _ callback (12) -
tmp
_ dh _ callback= (12) -
to
_ proc (12) -
to
_ s (12) -
verify
_ callback (36) -
verify
_ callback= (36)
検索結果
先頭5件
-
Logger
:: Formatter # call(severity , time , progname , msg) -> String (21226.0) -
ログ情報をフォーマットして返します。
...ログ情報をフォーマットして返します。
@param severity ログレベル。
@param time 時間。Time クラスのオブジェクト。
@param progname プログラム名
@param msg メッセージ。... -
Fiddle
:: Function # call(*args) -> Integer|DL :: CPtr|nil (21214.0) -
関数を呼び出します。
...関数を呼び出します。
Fiddle::Function.new で指定した引数と返り値の型に基いて
Ruby のオブジェクトを適切に C のデータに変換して C の関数を呼び出し、
その返り値を Ruby のオブジェクトに変換して返します。
引数の変換は......Fiddle::Pointer は保持している C ポインタに変換されます。
文字列であればその先頭ポインタになります。
IO オブジェクトであれば FILE* が渡されます。
整数であればそれがアドレスとみなされます。
to_ptr を持ってい......Fiddle::Pointer に
変換したものを用います。
to_i を持っているならば、それを呼びだし結果の整数を
アドレスと見なします
: (unsigned) char/short/int/long/long long
Ruby の整数を C の整数に変換します。
: double/float
Ruby の整... -
Continuation
# call(*ret) -> () (21208.0) -
self が記憶した状態を継続します。引数は そのまま Kernel.#callcc の戻り値になります。
...self が記憶した状態を継続します。引数は そのまま
Kernel.#callcc の戻り値になります。
@param ret 継続に復帰した時に返す値を指定します。... -
Fiddle
:: Closure :: BlockCaller # call(*args) -> object (21208.0) -
wrap しているブロックを呼び出します。
...wrap しているブロックを呼び出します。
そのブロックの返り値がこのメソッドの返り値となります。
@param args 引数... -
Method
# call(*args) -> object (18233.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...
@param args self に渡される引数。
@see UnboundMethod#bind_call
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called......with arg 2"
//}... -
Method
# call(*args) { . . . } -> object (18233.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...
@param args self に渡される引数。
@see UnboundMethod#bind_call
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called......with arg 2"
//}... -
Method
# call(*args) -> object (18227.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...ん。
@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
/... -
Method
# call(*args) { . . . } -> object (18227.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...ん。
@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
/... -
Method
# call(*args) -> object (18221.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...ません。
@param args self に渡される引数。
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) { . . . } -> object (18221.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...ません。
@param args self に渡される引数。
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
OpenSSL
:: SSL :: SSLContext # tmp _ dh _ callback=(cb) (12213.0) -
一時的 DH 鍵を生成するためのコールバックを設定します。
...Method を渡します。
暗号で一時的な DH 鍵を利用する場合にはこのコールバックが
呼びだされ、呼びだされたブロックは適切な鍵パラメータを返さなければ
なりません。これで設定するブロックは
proc{|sslsocket, is_export, keyl......en| ... }
という引数を取るようにします。それぞれの引数の意味は
* sslsocket 通信に使われる OpenSSL::SSL::SSLSocket オブジェクト
* is_export 輸出規制のある暗号を利用するかどうかを0か0以外かで指定
* keylen 鍵長
となります。......れで返されるオブジェクトはパラメータしか
用いられません。
cb に nil を指定するとデフォルトのパラメータが利用されます。
デフォルト値は nil です。
@param cb 設定するコールバック
@see OpenSSL::SSL::SSLContext#tmp_dh_callback... -
OpenSSL
:: SSL :: SSLContext # tmp _ dh _ callback -> Proc | nil (12207.0) -
一時的 DH 鍵を生成するためのコールバックを返します。
...一時的 DH 鍵を生成するためのコールバックを返します。
@see OpenSSL::SSL::SSLContext#tmp_dh_callback=... -
UnboundMethod
# bind _ call(recv , *args) -> object (9227.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call...