A

Admin • 833K Points
Coach

Q. What is a "predicate method" in Ruby?

  • (A) A method that returns the result of a comparison between two objects
  • (B) A method that takes a block as an argument
  • (C) A method that raises an exception when called with invalid arguments
  • (D) A method that returns a boolean value indicating a condition
  • Correct Answer - Option(D)
  • Views: 26
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.