Q6
How do you call a block in Ruby?
A.
By invoking it with parentheses ()
B.
By using the call method
C.
By passing it as an argument to a method
D.
By passing it to a method using the yield keyword
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board