M

Mr. Dubey • 52.30K Points
Coach

Q. What happens if a block is passed to a method that doesn't expect one in Ruby?

  • (A) It silently ignores the block
  • (B) It converts the block into a proc and passes it as an argument
  • (C) It converts the block into a lambda and passes it as an argument
  • (D) It raises an error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.