Imagine that you are the librarian of OOP University, and you need a tool to record what books are in the library and who borrows them. This app will allow you to:
- Add new students or teachers.
- Add new books.
- Save records of who borrowed a given book and when.
- Set up associations between classes and objects.
- Build interactive console apps.
And all of this will be built in a beautiful and well-organized way!
-
Clone the repo
[email protected]:sevinchek/oop-school-library.git
-
Run the main.rb file and interact with the console:
ruby main.rb
-
For testing the classes run:
rspec spec/class_name.rb
- Implement classes and objects in Ruby.
- Implement encapsulation and inheritance with Ruby.
- Run a program using the command line.
- Implement composition (as an example of the design pattern).
- Store data in files.
- Write unit tests using Rspec.
- Understand an existing codebase in a way that allows for adding tests.
๐ค Kevin
- GitHub: @sevinchek
- Twitter: @sevinchek
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
This project is MIT licensed.