Back to Parent

Working with Helper Files

I was working with helper files to keep my code organized, but I ran into an issue where my bot would repeat himself. This was a bit of an annoying character trait and I needed to teach Alfred better communication skills.

At the end of each snippet of code listed below, you’ll notice `return true` or `return false`. There was  logic added to the main app.rb file that tells code to run through all 4 helper files before returning an error message and it solved the problem. 


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0