Skip to content

HTTPS clone URL

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

!SLIDE

Ruby For Programmers

Taught by Alex Chaffee

alex@purpletech.com

GitHub/Twitter/LinkedIn/Google: alexch

In Collaboration with Marakana

http://marakana.com/training/ruby/ruby.html

Schedule

Day One: Ruby Basics

Day Two: The Ruby Object Model

Textbook: The Well-Grounded Rubyist

Exercises: Learn Ruby Test First

http://testfirst.org/learn_ruby

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 https://github.com/alexch/learn_ruby.git

cd learn_ruby

then open index.html in a browser

Very Important!

READ THE ERROR

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.