Sha256: d36a9ec80e7ddf9728dcaf577f25f5732a056770504c06bc426405fc02f6fc6f

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

#!/usr/bin/env ruby

mylib = `gem which rubytext`.chomp
examples = mylib.sub(%r[/lib/rubytext.rb], "/examples")

Dir.chdir(examples)

rc = system("ruby check.rb")
exit unless rc

# FIXME later:
#   - use names instead of numbers?
#   - convert showme into a method?

system("ruby showme.rb prog01.rb")
system("ruby showme.rb prog02.rb pause")
system("ruby showme.rb prog03.rb pause")
system("ruby showme.rb prog04.rb pause")
system("ruby showme.rb prog05.rb pause")
system("ruby showme.rb prog06.rb pause")
system("ruby showme.rb prog07.rb pause")
system("ruby showme.rb prog08.rb pause")
system("ruby showme.rb prog09.rb pause")
system("ruby showme.rb prog10.rb pause")
system("ruby showme.rb prog12.rb pause")
system("ruby showme.rb prog13.rb pause")
system("ruby showme.rb prog14.rb pause")
system("ruby showme.rb prog15.rb pause")
system("ruby showme.rb prog16.rb pause")
system("ruby showme.rb prog17.rb pause")
system("ruby showme.rb prog18.rb pause")
system("ruby showme.rb prog19.rb pause")
system("ruby showme.rb prog20.rb pause")
system("ruby showme.rb prog21.rb pause")
system("ruby showme.rb prog22.rb pause 11")
system("ruby showme.rb prog23.rb pause")
system("ruby showme.rb prog24.rb pause")
system("ruby showme.rb prog25.rb pause")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubytext-0.0.89 examples/slides
rubytext-0.0.88 examples/slides
rubytext-0.0.87 examples/slides