Deep Dive

Ruby Foundations

Learn the fundamentals to become a Ruby and Rails developer. You'll learn things like what Ruby is, how to write object oriented Ruby, classes and modules, programming structures and types, and more. There are no requirements for this course other than a web browser and willingness to learn.

Cover-ruby-foundations

14 Achievements

Ruby Basics

Ruby Basics

The Ruby Basics badge will get you up and running with Ruby and have you writing your first Ruby programs in no time!

Objects, Classes, and Variables

Objects, Classes, and Variables

The Objects, Classes, and Variables badge gets you familiar with the Ruby language. You'll learn about how to tell the Ruby interpreter what to do, set variables, and create and instantiate classes.

Ruby Strings

Strings

The Strings badge teaches you how to create and work with strings, learn about special characters and escape, and learn about common and useful methods available when working with strings.

Ruby Numbers

Numbers

The Ruby Numbers badge will get you comfortable working with numbers in Ruby. This badge teaches you about integers, floating point numbers, math, and more. You'll learn how to create and work with numbers, compare numbers, and work with currency.

Ruby Arrays

Arrays

An array is container for different kinds data. The arrays badge will teach you what arrays are and get you comfortable with creating and working with arrays.

Ruby Hashes

Hashes

A hash is a data structure which is a collection of key and value pairs. The hashes badge will get you comfortable creating, querying, and working with hashes.

Ruby Methods

Methods

A method is a set of expressions that return a value. Learning how to create your own methods is the basis for almost all programming you'll do in Ruby. The Ruby Methods badge teaches you all about creating and using methods.

Ruby Loops

Loops

A loop is a series of statements that can be repeated several times. The Ruby language has several different kinds of loops available when writing programs. The loops badge walks you through creating loops and using different kinds of loops in your code.

Ruby Blocks

Blocks

Blocks are a special kind of syntax in Ruby. A block is a way of grouping statements together that is executed when Ruby encounters the method. The Ruby Blocks badge teaches you how to create, use, and work with blocks in your Ruby programs.

Ruby Procs & Lambdas

Procs & Lambdas

Procs & Lambdas are blocks of code that are assigned to variables. In this way, procs and lambdas can be passed around to different methods and the scope can change. The Procs & Lambdas badge teaches you how to create and work with procs and lambdas as well as the differences between them.

Ruby Modules

Modules

Modules serve as containers for data, classes, methods, or even other modules. Modules are very useful for sharing behavior between your classes and are frequently used for namespacing classes and constants in your programs.

Ruby Core

Ruby Core

The core collection of classes and modules helps out when coding Ruby programs. The Ruby Core badge walks you through some of the classes and modules available.

Standard Library

Ruby Standard Library

The Ruby standard library is packaged with every Ruby installation. The standard library contains modules and classes that are commonly used for writing programs. This includes functionality for testing, configuration, option parsing, benchmarking, and more. The Ruby Standard Library badge walks through some of the modules and classes available in the standard library.

Ruby Testing

Testing

Automated testing is the process of writing code that tests different behavior of your programs. The Ruby standard library includes a library called MiniTest which can be used to write automated tests. The Ruby Testing Badge walks through using the MiniTest library and introduces the process of test driven development.

Instructor

  • Jason Seifer

    When not fighting web crime, Jason Seifer is a teacher at Treehouse. He's passionate about the web and programming. You can find Jason on Twitter at @jseifer and on his personal blog at jasonseifer.com.

Download videos

You have to sign up for Treehouse in order to download course videos.

Sign up