Skip to content

The OOP-School-Library project demonstrates the principles of data abstraction, inheritance, encapsulation, and polymorphism, which are fundamental concepts in object-oriented programming(OOP).

License

Notifications You must be signed in to change notification settings

AbdusSattar-70/oop-school-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP School Library

📗 Table of Contents

📖 [oop-school-library]

The OOP-School-Library project consists of three classes: Person, Student, and Teacher. The Person class has attributes for identification, name, and age, along with getters and setters. It also has a method to check if a person is of age or has parental permission.The Student class inherits from Person and adds a classroom attribute. It includes a method called play_hooky to represent skipping class.The Teacher class also inherits from Person and includes a specialization attribute. It overrides the can_use_services. method to always return true.Each class is saved in a separate file for better organization. The project provides a foundation for a library management system in a school environment.

🛠 Built With

Tech Stack

Client
  • Ruby: The primary programming language for the project.

Server
  • none
Database
  • none

Key Features

  • Simple command-line interface.
  • Support for IRB input formats.

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • A Computer (MAC or PC)
  • Code editor (VSCode,Atom etc...)
  • A browser (Chrome,Mozilla,Safari etc...)
  • Version Control System (Git and Github)
  • Ruby installed: To run a Ruby project, users must have Ruby installed on their system. You can include the minimum required version of Ruby needed to run the project.

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone github.com/AbdusSattar-70/oop-school-library

Install

Install this project with:

  • Install RubyInstaller Win
  • Install Ruby for macOS
  • Install Ruby for Linux

Usage

To run a Ruby file in the command line, follow these steps:

Open a command prompt or terminal window on your computer.

Navigate to the directory where the Ruby file is stored using the cd command.

Type the following command to run the Ruby file:

ruby filename.rb

- where filename.rb is the name of the Ruby file you want to run.

👥 Authors

👤 Abdus Sattar

👤 Tshobohwa Salomon

(back to top)

🔭 Future Features

  • Project 2: use the "Decorator" design pattern.
  • Project 3: set up associations.
  • Project 4: add basic UI.
  • Project 5: refactor the code.
  • Project 6: preserve data.
  • Project 7: unit tests.

(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 rate it and give it a star...

(back to top)

🙏 Acknowledgments

We would like to thank the Microverse team for allowing us to work on this Morse Code Decoder ruby project.

(back to top)

❓ FAQ

  • How do I install and run the project?

    • To install and run the project, you will need to have Ruby installed on your computer. Once you have Ruby installed, you can download the project files and run the program from the command line using the following command:
  • What technologies and libraries are used in the project?

    • The project is written in Ruby and does not require any external libraries or dependencies.
  • How can I contribute to the project?

    • Contributions to the project are welcome! Please feel free to submit bug reports, feature requests, or pull requests on the project's GitHub repository.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

The OOP-School-Library project demonstrates the principles of data abstraction, inheritance, encapsulation, and polymorphism, which are fundamental concepts in object-oriented programming(OOP).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages