Skip to content

iamsjunaid/OOP-school-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📗 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:iamsjunaid/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

👤 Junaid Syed

👤 Nahid Raihan Sardar

(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)

About

Practicing Ruby: classes and objects

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages