Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ruby 101 presentation inside of irb
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.rspec
.ruby-gemset
.ruby-version
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
Something went wrong with that request. Please try again.