Sha256: bf623aa587b01715b130a81e84e1ce698e621dc02d5a8cceda45798513da4371
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
require_relative 'lib/tuvi.rb' step 1 do code {$x = "hello"} say "This is Step 1. Type yes to go to Step 2. Type no to go to Step 3." response "Yes" => 2 response "No" => 3 end step 2 do code {puts $x} say "This is Step 2. Type hi to go to Step 3. Type bye to go to step 1." response "Hi" => 3 response "Bye" => 1 end step 3 do say "You've reached the end!" stop end run
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tuvi-0.0.12 | example_program.rb |