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: Share Manage Tags
Discusssion
Login to discuss.