Ruby - Control Flow
What is wrong with this guard clause?
def valid?(input) return true if input.empty? false end
def valid?(input) return true if input.empty? false end
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions