Ruby - Methods
Which method name follows Ruby convention for a method that returns a boolean value?
? is used at the end of method names that return true or false.? is used at the end of method names that return true or false.? suffix? return true or false, indicating a boolean check.valid? clearly suggests a boolean check, while others do not.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions