28件ヒット
[1-28件を表示]
(0.113秒)
種類
- インスタンスメソッド (17)
- 定数 (11)
クラス
- CGI (11)
- Proc (11)
- TracePoint (6)
キーワード
-
MAX
_ MULTIPART _ COUNT (11) - hash (11)
検索結果
-
TracePoint
# parameters -> [object] (24141.0) -
現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。 フォーマットは Method#parameters と同じです。
...Method#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... -
CGI
:: MAX _ MULTIPART _ COUNT -> Integer (6216.0) -
Maximum number of request parameters when multipart
...Maximum number of request parameters when multipart... -
Proc
# hash -> Integer (224.0) -
self のハッシュ値を返します。
...Symbol の 2 要素です。
//emlist[][ruby]{
prc = proc{|x, y=42, *other|}
p prc.parameters # => x], [:opt, :y], [:rest, :other
prc = lambda{|x, y=42, *other|}
p prc.parameters # => x], [:opt, :y], [:rest, :other
prc = proc{|x, y=42, *other|}
p prc.parameters(lambda: true) # => x], [:opt, :y]......, [:rest, :other
prc = lambda{|x, y=42, *other|}
p prc.parameters(lambda: false) # => x], [:opt, :y], [:rest, :other
//}...