/OOP-school-library

Implement classes and objects in Ruby. Implement encapsulation and inheritance with Ruby. Run a program using the command line.

Primary LanguageRubyMIT LicenseMIT

logo

📗 Table of Contents

📖 About

OOP school library built with Ruby. In this project I have created:

  1. person.rb
  • Base class or parent class: contains the common attributes and methods of all the other classes.
  1. student.rb
  • Inherits from person class
  • Contains the attributes and methods specific to students.
  1. teacher.rb
  • Inherits from person class
  • Contains the attributes and methods specific to teachers.

🛠 Built With

Tech Stack

Client

Key Features

  • Add new students or teachers.
  • Add new books.
  • Save records of who borrowed a book and when.
  • Use the Decorator design pattern.

(back to top)

💻 Getting Started

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  git clone git@github.com:rabayarabu/OOP-school-library.git
  cd enumerator

Install

Install project dependencies with:

  bundle install

Usage

To run the project, instantiate the class files in main.rb and execute the following command:

  ruby main.rb

(back to top)

👥 Authors

👤 Rabaya Rabu

👤 ClarenceAtim

(back to top)

🔭 Future Features

  • I'll be adding some additional methods to this project.

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project and want to support me make cooler projects Give this project a Star.

(back to top)

🙏 Acknowledgments

I would like to thanks Microverse.

(back to top)

📝 License

This project is MIT licensed.

(back to top)