522件ヒット
[1-100件を表示]
(0.119秒)
別のキーワード
ライブラリ
- ビルトイン (313)
- continuation (24)
- fiddle (24)
- logger (24)
-
minitest
/ unit (17) -
net
/ http (12) - openssl (72)
-
syslog
/ logger (12) -
webrick
/ httpserver (24)
クラス
- BasicObject (24)
- Continuation (24)
- Exception (8)
-
Fiddle
:: Closure :: BlockCaller (12) -
Fiddle
:: Function (12) - Logger (12)
-
Logger
:: Formatter (12) - Method (80)
- Module (12)
-
Net
:: HTTP (12) - Object (24)
-
OpenSSL
:: SSL :: SSLContext (60) -
OpenSSL
:: X509 :: Store (12) - Proc (62)
-
Syslog
:: Logger (12) - Thread (42)
- TracePoint (7)
- UnboundMethod (6)
-
WEBrick
:: HTTPServer (24)
モジュール
- Enumerable (48)
-
MiniTest
:: Assertions (17)
キーワード
- << (14)
- === (20)
- >> (14)
- [] (36)
-
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) - bind (6)
- curry (22)
- detect (24)
- find (24)
- formatter= (24)
-
instance
_ eval (24) -
instance
_ method (12) - method (12)
-
mount
_ proc (24) - parameters (7)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
session
_ get _ cb= (12) -
session
_ new _ cb= (12) -
session
_ remove _ cb= (12) -
set
_ trace _ func (12) -
singleton
_ method (12) - skip (1)
-
tmp
_ dh _ callback= (12) -
verify
_ callback= (36) - yield (12)
検索結果
先頭5件
-
Fiddle
:: Closure :: BlockCaller # call(*args) -> object (21108.0) -
wrap しているブロックを呼び出します。
...wrap しているブロックを呼び出します。
そのブロックの返り値がこのメソッドの返り値となります。
@param args 引数... -
Logger
:: Formatter # call(severity , time , progname , msg) -> String (18126.0) -
ログ情報をフォーマットして返します。
...ログ情報をフォーマットして返します。
@param severity ログレベル。
@param time 時間。Time クラスのオブジェクト。
@param progname プログラム名
@param msg メッセージ。... -
Fiddle
:: Function # call(*args) -> Integer|DL :: CPtr|nil (18108.0) -
関数を呼び出します。
...。
: void
nil を返します
: (unsigned) char/short/int/long/long long
C の整数を Ruby の整数に変換します
: void*(つまり任意のポインタ型)
C のポインタを保持した Fiddle::Pointer を返します。
@param args 関数の引数
@see Fiddle::Function.new... -
Method
# call(*args) -> object (15121.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......せん。
@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 (15121.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......せん。
@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 (15115.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 (15115.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"
//}... -
Continuation
# call(*ret) -> () (15108.0) -
self が記憶した状態を継続します。引数は そのまま Kernel.#callcc の戻り値になります。
...self が記憶した状態を継続します。引数は そのまま
Kernel.#callcc の戻り値になります。
@param ret 継続に復帰した時に返す値を指定します。... -
Proc
# call(*arg) -> () (15108.0) -
手続きオブジェクトを実行してその結果を返します。
.../emlist[例][ruby]{
fib = lambda{|n|
case n
when 0 then 0
when 1 then 1
else
fib.(n - 2) + fib.(n - 1)
end
}
fib.(10) # => 55
//}
@param arg 手続きオブジェクトに与える引数を指定します。
@raise LocalJumpError Procを生成したメソッドからリターンし... -
TracePoint
# parameters -> [object] (6125.0) -
現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。 フォーマットは Method#parameters と同じです。
...hod#parameters と同じです。
@raise RuntimeError :call、:return、:b_call、:b_return、:c_call、:c_return
イベントのためのイベントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(a, b = 2)
end
TracePoint.new(:call) do......|tp|
p tp.parameters # => a], [:opt, :b
end.enable do
foo(1)
end
//}
@see Method#parameters, UnboundMethod#parameters, Proc#parameters... -
Net
:: HTTP # verify _ callback=(proc) (6107.0) -
検証をフィルタするコールバックを設定します。
...詳しくは OpenSSL::X509::Store#verify_callback= や
OpenSSL::SSL::SSLContext#verify_callback= を見てください。
@param proc 設定する Proc オブジェクト
@see Net::HTTP#verify_callback,
OpenSSL::X509::Store#verify_callback=,
OpenSSL::SSL::SSLContext#verify_callback=...