Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (21 sloc) 484 Bytes

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