prc.parameters â array
Instance Public methods
Returns the parameter information of this proc.
1 2 | prc = lambda{|x, y= 42 , *other|} prc.parameters #=> [[:req, :x], [:opt, :y], [:rest, :other]] |
Returns the parameter information of this proc.
1 2 | prc = lambda{|x, y= 42 , *other|} prc.parameters #=> [[:req, :x], [:opt, :y], [:rest, :other]] |
Designed by : w10schools
service@w10schools.com
Please login to continue.