What does the arity method return for a proc or lambda in Ruby?
A. The number of optional arguments for the proc or lambda
B. The total number of arguments for the proc or lambda
C. The number of required arguments for the proc or lambda
D. None of the above
Answer: Option C

Join The Discussion