Ruby Training Course


By taking the Ruby Training class, students will:

  • Be able to setup the Ruby development environment
  • Learn the fundamentals of the Ruby language
  • Learn about the built-in Ruby libraries and APIs
  • Learn the principals of object-oriented programming (OOP) in Ruby
  • Practice test-driven development (TDD) in Ruby using RSpec
  • Learn how to use external libraries with Ruby Gems
  • Be able to write Ruby code with confidence!


This Ruby Training course assumes you have basic experience in another programming language and are familiar with fundamental programming concepts, such as conditionals, loops, functions/methods, etc.

Ruby Basics

  • Ruby Overview
  • Command-line Tools
  • Core Ruby
    • Syntax
    • Functions
    • Control Flow
    • Built-in Types
  • Collections
  • Blocks and Iterators

The Ruby Object Model

  • Objects
  • Classes
  • Inheritance
  • Dispatching
  • Modules
  • Scope

Advanced Topics (time permitting)

  • Exceptions
  • Advanced Blocks
  • Classes as Objects
  • Metaprogramming
  • IO

Test-Driven Development with RSpec (time permitting)

  • Introduction to TDD
  • Red-Green-Refactor
  • Describing a feature
  • Verifying expectations
  • Mocks & Stubs