Skip to content

Foundational concepts of OOP including Encapsulation, Inheritance, Polymorphism, and Abstraction, with practical examples implemented in Ruby.

Notifications You must be signed in to change notification settings

kozenetpro/oop_pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

About

Foundational concepts of OOP including Encapsulation, Inheritance, Polymorphism, and Abstraction, with practical examples implemented in Ruby.

Topics

Resources

Stars

Watchers

Forks

Languages