- How to set up the project / what is the file structure
- General File structure of a Ruby CLI project
- How to set up Modules
- This code along lab very clearly walks through what a module is and how to use them
- Provides a good overview of what modules are and why we use them with examples
- How to set up and write the CLI portion and how should it flow
- Description of CLI application pattern
- How to get input for your CLI
- Using chomp and strip
- Good example of a case statement with user input
- Good explanation of case statement
- ruby-doc on case statement syntax
- Review this lab - covers building a CLI
- Having trouble with the import method
- Gives a clear example of what we want the import method to look like
- Associations don’t seem to be set up correctly (eg. Stuck on Artist.add_song)
- Reread part about Artist class!
- Reread OBJECT RECIPROCITY
- Very good example of 3 collaborating objects!
- Touches on writing custom setter methods
- A really good video that goes over setting up these relationships
- Shows syntax for do something if condition
- A great code example of collaborating objects
- Review this lab on collaborating objects!
- Stuck on the new_from_filename method
- Check out Custom Class Constructors!
- In about the last ten fifteen minutes of this video Avi goes through and builds somewhat similar Class Methods
- Good example of gsub - look at the very first example
- Collaborating Objects lab talks about relationships and shows an example of an artist= method where it's set to an object not string