You are viewing a single comment's thread. Return to all comments →
proc_square_number = proc { |n| n**2 } proc_sum_array = proc { |n| n.sum }
Seems like cookies are disabled on this browser, please enable them to open this website
Procs
You are viewing a single comment's thread. Return to all comments →