errors in deaf Grandma - Pine - No Method
问题 Was completing the pine exercise for Def Grandma and thought would try and take it a little further and abstract it to remove as much duplication as possible. Hope my logic with this isn't too bizzare just tried to separate things into functions. But now if I type Bye The program exits immediately without proceeding to the exitPlan function. Any advice welcome. puts 'Say something nice to Grandma.' puts 'You may need to shout > ' speak = gets.strip counter = 0 speaks(speak) def speaks(speak)