1件ヒット
  
    
      [1-1件を表示]
    
  
    (0.057秒)
  
  
    トップページ >  :Object#method
:Object#method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :method
:method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Method
:Method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :BasicObject
:BasicObject![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :coverage
:coverage![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :WeakRef
:WeakRef![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :methods
:methods![条件を削除 [x]](/images/drop-condition-icon.png) > クラス:Proc
 > クラス:Proc![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :3.3
:3.3![条件を削除 [x]](/images/drop-condition-icon.png) 
  
 :Object#method
:Object#method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :method
:method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Method
:Method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :BasicObject
:BasicObject![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :coverage
:coverage![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :WeakRef
:WeakRef![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :methods
:methods![条件を削除 [x]](/images/drop-condition-icon.png) > クラス:Proc
 > クラス:Proc![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :3.3
:3.3![条件を削除 [x]](/images/drop-condition-icon.png) 
  別のキーワード
ライブラリ
- ビルトイン (1)
検索結果
- 
      Proc# parameters(lambda: nil) -> [object] (325.0) 
- 
      
      
      Proc オブジェクトの引数の情報を返します。 ...Proc オブジェクトの引数の情報を返します。
 Proc オブジェクトが引数を取らなければ空の配列を返します。引数を取る場合は、配列の配列を返し、
 各配列の要素は引数の種類に対応した以下のような Symbol と、引数名を表す......数
 : :block
 & で指定されたブロック引数
 @param lambda true なら lambda として扱ったとき、false なら lambda ではない Proc として
 扱ったときの引数の情報を返します。
 //emlist[例][ruby]{
 prc = lambda{|x, y=42, *other, k_x:, k_y: 42, **k_......_other], [:block, :b
 //}
 //emlist[lambda: の例][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], [...
