Q40
How do you pass arguments to a method in Ruby?
A.
method_name(arg1, arg2)
AnswerB.
method_name { arg1, arg2 }
C.
method_name.with(arg1, arg2)
D.
method_name arg1 arg2
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board