💎 Ruby Object-Oriented Programming (OOP)

Ruby is a pure object-oriented language. Everything in Ruby is an object, even numbers and strings!

🖥️ Example: Defining a Class

Output will appear here...
💡 Tip: Use @ to define instance variables inside Ruby classes.