Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.23 KB

Ruby OOP Pro

Overview

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.

Features

  • 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.

How to Run

  1. Clone this repository:

    git clone https://github.com/kozenetpro/oop_pro.git
  2. Navigate to the repository folder:

    cd oop_pro
  3. Run the script with Ruby:

    ruby bank_pro.rb

Resources

  • Programmer's Dashboard: Explore a custom dashboard designed for programmers at Dashboard_Link.