> For the complete documentation index, see [llms.txt](https://certil-remy.gitbook.io/learn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://certil-remy.gitbook.io/learn/scraping/untitled-7.md).

# Video Review: Music Library CLI

[Permalink](https://github.com/learn-co-curriculum/oo-ruby-video-review-music-library-cli/blob/ceacf6330fe289a02bb4421f07ba79b85c4993a1/README.md)

#### Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

[Sign up](https://github.com/join?source=prompt-blob-show\&source_repo=learn-co-curriculum%2Foo-ruby-video-review-music-library-cli)

&#x20;22 lines (16 sloc) 1.18 KB

## Video Review: Music Library CLI

### Overview

This video lesson uses a review of the Music Libray CLI lab as the basis for a comprehensive look at Object Oriented Ruby. Please do the lab before watching this video to get the most out of it.

### Objectives

* Create classes and add class methods for persisting and tracking instances
* Define find\_by\_name class method to find instance with a specific name
* Abstract methods to a module to avoid repetitive code
* Separate class and instance methods into separate namespaced modules
* Use getter methods to expose class variables
* Use `extended` hook to extend class variables from modules
* Define a module with the `create_by_name` method to create a new instance of a class
* Add setter methods to associate objects to each other
* Define and map out our associations
* Explain builder mixin and module patterns

&#x20;\<iframe width="100%" height="720" src="<https://www.youtube.com/embed/iClea2crypU?rel=0&showinfo=0>" frameborder="0" allowfullscreen>\</iframe>

View [Video Review: Music Library CLI](https://learn.co/lessons/oo-ruby-video-review-music-library-cli) on Learn.co and start learning to code for free.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://certil-remy.gitbook.io/learn/scraping/untitled-7.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
