Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d4583140d4
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (57 sloc) 1.549 kb


Ruby For Programmers

Taught by Alex Chaffee

GitHub/Twitter/LinkedIn/Google: alexch

In Collaboration with Marakana


Day One: Ruby Basics

Day Two: The Ruby Object Model

Textbook: The Well-Grounded Rubyist

Exercises: Learn Ruby Test First

Day One: Ruby Basics

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

Day Two: The Ruby Object Model

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

Advanced Topics (if time)

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

Test-driven Development with RSpec (probably not enough time)

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

Test-First Teaching

  • We use tests to check for code correctness
  • We use tests to define the task to implement
  • We know we're done when the tests pass

Conceived by Sarah Allen and Alex Chaffee

Let's get started

Install Ruby, then open a terminal window and type this:

git clone

cd learn_ruby

then open index.html in a browser

Very Important!


This is actually very difficult to do, and very easy to miss.

Make your console window REALLY TALL

When you get an error, SCROLL UP and read down STARTING from where YOU HIT RETURN

Jump to Line
Something went wrong with that request. Please try again.