https://github.com/benmukebo/school-library
https://github.com/benmukebo/school-library
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benmukebo/school-library
- Owner: BenMukebo
- Created: 2021-12-14T15:02:13.000Z (almost 4 years ago)
- Default Branch: development
- Last Pushed: 2022-01-10T14:12:53.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T03:57:05.782Z (11 months ago)
- Language: Ruby
- Size: 60.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# OOP school library
## Description
> Use OOP to build a simple app.
## Learning objectives
- 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)
- Run a program using the command line.
- Run a program using the command line.
- Set up associations between classes and objects.
- Build interactive console apps.
- Run a program using the command line.
## Getting Started
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. The app that you will create will allow a you to:
- Add new students or teachers.
- Add new books.
- Save records of who borrowed a given book and when.
## Setup
### Clone this repository
```bash
$ git clone https://github.com/BenMukebo/school-library.git
$ cd school-library
```
## Install linter
```bash
$ bundle init
$ bundle install
```
## Run linter
```bash
$ rubocop .
```
### Auto-correct
In auto-correct mode, RuboCop will try to automatically fix offenses:
```bash
$ rubocop -A
# or
$ rubocop --auto-correct-all
```
## Install unit tests
```bash
$ gem install rspec
```
## Run unit tests
```bash
$ rspec spec or just
$ rspec
```
## Install pry
```bash
$ gem install pry
```
## Built With
This project is build with:
- 
## Authors
👤 **Ben Mukebo**
- GitHub: [@BenMukebo](https://github.com/BenMukebo)
- Twitter [@BenMukebo](https://twitter.com/BenMukebo)
- LinkedIn [BenMukebo](https://www.linkedin.com/in/kasongo-mukebo-ben-591720205/)
## 🤝 Contributor
👤 **Muhammad Sesay**
- GitHub: [@mmsesay](https://github.com/mmsesay)
- Twitter [@DeeMaejor](https://twitter.com/DeeMaejor)
- LinkedIn [MuhammadSesay](https://www.linkedin.com/in/muhammad-m-sesay/)
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/BenMukebo/school-library/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc
## 📝 License
This project is [MIT](./MIT.md) licensed.