Sha256: 109af5700901c806a02a76e320f71578c9a97bb6962b9faca6fe69c3d51c8111

Contents?: true

Size: 229 Bytes

Versions: 24

Compression:

Stored size: 229 Bytes

Contents

#!/usr/bin/env ruby

# ask some questions

qs = [
  "what is your name?",
  "what is your quest?",
  "what is you favorite color?",
]

qs.each do |q|
  puts q
  response = gets
  $stderr.puts "response: #{ response.inspect }"
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cmds-0.0.7 test/questions.rb
cmds-0.0.6 test/questions.rb
cmds-0.0.5 test/questions.rb
cmds-0.0.4 test/questions.rb