This repository contains the Ruby script used to demonstrate Object-Oriented Programming (OOP) principles in Ruby. The tutorial covers the foundational concepts of OOP including Encapsulation, Inheritance, Polymorphism, and Abstraction, with practical examples implemented in Ruby.
- Encapsulation: Showcases how data and methods can be bundled together within classes.
- Inheritance: Demonstrates how classes can inherit features from other classes to promote code reusability.
- Polymorphism: Explores how the same method can have different behaviors based on the object it is called upon.
- Abstraction: Illustrates how to interact with objects without needing to understand complex details.
-
Clone this repository:
git clone https://github.com/kozenetpro/oop_pro.git
-
Navigate to the repository folder:
cd oop_pro
-
Run the script with Ruby:
ruby bank_pro.rb
- Programmer's Dashboard: Explore a custom dashboard designed for programmers at Dashboard_Link.