Ruby - Methods
Identify the bug in this predicate method:
def valid_name?(name) name.length > 0 true end
def valid_name?(name) name.length > 0 true end
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions