Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (21 sloc) 0.484 kB

Ruby 101

This is a command line utility that will run the presentation through IRB.

Setup

Use bundler to get any dependencies.

  bundle

Usage

  ruby main.rb

This will drop you into an IRB session with an instance variable called @deck.

  @deck.play

Keep calling @deck.play to traverse through the presentation.

Tests

I have added a few rspec tests to ensure the presentation works as expected.

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