Flowdock
method

parameters

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Proc
parameters() public

Returns the parameter information of this proc.

prc = lambda{|x, y=42, *other|}
prc.parameters  #=> [[:req, :x], [:opt, :y], [:rest, :other]]
Show source
Register or log in to add new notes.