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.2.11 test/questions.rb
cmds-0.2.10 test/questions.rb
cmds-0.2.9 test/questions.rb
cmds-0.2.8 test/questions.rb
cmds-0.2.7 test/questions.rb
cmds-0.2.6 test/questions.rb
cmds-0.2.5 test/questions.rb
cmds-0.2.4 test/questions.rb
cmds-0.2.3 test/questions.rb
cmds-0.2.2 test/questions.rb
cmds-0.2.1 test/questions.rb
cmds-0.2.0 test/questions.rb
cmds-0.1.5 test/questions.rb
cmds-0.1.4 test/questions.rb
cmds-0.1.3 test/questions.rb
cmds-0.1.2 test/questions.rb
cmds-0.1.1 test/questions.rb
cmds-0.1.0 test/questions.rb
cmds-0.0.9 test/questions.rb
cmds-0.0.8 test/questions.rb