What is Ruby
📖 Scenario: Imagine you want to learn a programming language that is easy to read and write, just like talking to a friend. Ruby is one such language, popular for building websites and apps.
🎯 Goal: You will create a simple Ruby program that introduces Ruby by storing a description in a variable and then printing it out.
📋 What You'll Learn
Create a variable called
ruby_description with the exact text: "Ruby is a simple and powerful programming language."Create a variable called
language_type with the exact text: "dynamic and object-oriented"Use string interpolation to create a new variable called
full_description that combines ruby_description and language_type in the sentence: "Ruby is a simple and powerful programming language. It is dynamic and object-oriented."Print the
full_description variable💡 Why This Matters
🌍 Real World
Ruby is used to build websites, apps, and automate tasks because it is easy to read and write.
💼 Career
Knowing Ruby helps you work on web development jobs, especially with popular frameworks like Ruby on Rails.
Progress0 / 4 steps