OOP school library built with Ruby. In this project I have created:
person.rb
- Base class or parent class: contains the common attributes and methods of all the other classes.
student.rb
- Inherits from person class
- Contains the attributes and methods specific to students.
teacher.rb
- Inherits from person class
- Contains the attributes and methods specific to teachers.
- Add new students or teachers.
- Add new books.
- Save records of who borrowed a book and when.
- Use the Decorator design pattern.
In order to run this project you need:
- Ruby installed and running. To get more information, read the installation instructions.
- You should be able to use IRB.
Clone this repository to your desired folder:
git clone git@github.com:rabayarabu/OOP-school-library.git
cd enumerator
Install project dependencies with:
bundle install
To run the project, instantiate the class files in main.rb
and execute the following command:
ruby main.rb
👤 Rabaya Rabu
- GitHub: @rabayarabu
- Twitter: @rabaya_rabu
- LinkedIn: LinkedIn
👤 ClarenceAtim
- GitHub: [ @githubhandle] (https://github.com/ClarenceAtim?tab=repositories)
- I'll be adding some additional methods to this project.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project and want to support me make cooler projects Give this project a Star.
I would like to thanks Microverse.
This project is MIT licensed.