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.
14 badges • 61 videos
-
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
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
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.
-
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.
-
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.