Learn Ruby
Ruby is a popular programming language that is used for everything from command line programs all the way up to large scale web applications. This track is the place to start if you want to learn how to get started with the Ruby language.
By the end of the Track, you'll have learned how to create basic Ruby programs, learned about object oriented programming, as well as how to use Ruby's built in types and constructs in addition to creating your own. Additionally, you'll know how to use Ruby to further explore the programming language on your own.
-
An entry-level salary for the technologies covered in this track is about $60,000 / yr on average.
-
Some companies that use these technologies regularly include: Treehouse, Airbnb, Bloomberg, Soundcloud, Kickstarter
Ready to start learning?
Treehouse offers a 7 day free trial for new students. Get access to 1000s of hours of content. Learn to code, land your dream job.
Start Your Free Trial-
- 1
- 2
- 3
- 4
- 5
Ruby Basics
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.
-
- 1
- 2
- 3
Ruby Collections
In the Ruby Collections course at Treehouse, you'll level up your Ruby knowledge and start learning about collections. We use two basic data structures to create collections in Ruby: arrays and hashes. These are both examples of "collections" and you’ll work with them a lot in your career as a Ruby programmer. During the course, we'll be writing simple programs that build on what we learned in this course and in previous courses.
-
- 1
- 2
- 3
Ruby Loops
In Ruby Loops, you'll learn how to automatically repeat statements using Ruby. You'll learn about the loop construct, including while loops, until loops, for loops, and more. You'll also learn the basics of iteration and then move on to creating a simple contact list management program.
-
- 1
- 2
- 3
Ruby Objects and Classes
Ruby is known as an "Object Oriented" programming language. But what does object oriented mean? In this course, we'll cover the basics of Ruby Classes. We'll learn what classes are, how they are used, and how to write our own.
-
- 1
- 2
- 3
Ruby Blocks
In this course, you’ll learn all about blocks in Ruby. Blocks are a piece of syntax that you can use in Ruby to accomplish all kinds of amazing programming feats. Ruby programmers make constant use of blocks so they are an important piece of the language to learn.
-
- 1
- 2
- 3
Build an Address Book in Ruby
In this course, you'll build a simple command line address book application using Ruby. You'll put to use a lot of skills learned in previous courses to put everything together: objects, classes, blocks, input and output, and more.
-
- 1
- 2
- 3
- 4
Ruby Modules
Modules are an extremely powerful utility when coding in Ruby. Modules allow you to add behavior to classes, hold constants, add namespaces, and more.
-
9 minWorkshop
Ruby Enumerable
In this Workshop, we'll learn all about the Ruby Enumerable module and see different examples of how it works.
Viewed -
- 1
- 2
- 3
Ruby Core and Standard Library
In Ruby Core and Standard Library, we're going to learn about the different pieces that make up the Ruby distribution
-
- 1
- 2
Ruby Gems
Gems are libraries that you can use in your Ruby programs that provide extra functionality. There are a lot of gems in the Ruby ecosystem that cover all types of use cases. In this course, you'll learn about what gems are, how they are structured, and how to use them in your programs.
-
- 1
- 2
- 3
- 4
- 5
Building Web Apps with Sinatra
Sinatra is the second-most popular web framework written in Ruby (after Rails). It's much simpler than Rails, and it's a great way to try out web development.
-
Track Completion
This course includes:
- Ruby Basics 2 hours
- Ruby Collections 106 min
- Ruby Loops 79 min
- Ruby Objects and Classes 2 hours
- Ruby Blocks 96 min
- Build an Address Book in Ruby 109 min
- Ruby Modules 2 hours
- Ruby Enumerable 9 min
- Ruby Core and Standard Library 2 hours
- Ruby Gems 48 min
- Building Web Apps with Sinatra 3 hours