Vidyalelo
Ruby Programming · Q16

Blocks and Procs in Ruby

Programming · Ruby Programming · question 16

Q16

Which keyword is used to define a block in Ruby?

A.
block
B.
do
Answer
C.
Block
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board