ruby 101 presentation inside of irb
Pull request Compare This branch is 1 commit behind adamhunter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.rspec
.rvmrc
Gemfile
Gemfile.lock
README.md
main.rb
slides.rb

README.md

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