Ruby Basics (Refresh)
Coming September 2017…
About this Course
This is our classic Ruby Basics course, new and improved!
Ruby is a programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. In Ruby Basics, we'll learn how to work with Ruby and write simple Ruby programs.
What you'll learn
- Ruby syntax
- If statements
Learn the basics of writing Ruby programs! You'll see how to define and call methods, and how to store data in variables.
Almost every program needs to work with text. Programming languages represent text using "strings". In this stage we'll take a look at Ruby's powerful features for working with strings.
In Ruby, almost every piece of data is an "object". That means the data has useful methods attached to it that you can call. In this stage, we'll learn how to use these methods!
Almost every program needs to work with numbers, too. We'll learn about Ruby's two most common types of numbers, how to do math with them, and how to call methods on them.
Sometimes you'll need to run a piece of code only under certain *conditions*. Conditionals like `if` and `unless` allow you to do that!
Resident Ruby and Go teacher for Treehouse. Author of Head First Ruby, a tutorial book on the core Ruby language.