gameidea 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gameidea +9 -2
- metadata +1 -1
data/bin/gameidea
CHANGED
@@ -3,6 +3,13 @@
|
|
3
3
|
$:.unshift File.join(File.dirname(__FILE__), %w[.. lib])
|
4
4
|
require 'gameidea'
|
5
5
|
|
6
|
-
|
6
|
+
if ARGV[0]
|
7
|
+
num = ARGV[0].to_i
|
8
|
+
else
|
9
|
+
num = 1
|
10
|
+
end
|
7
11
|
|
8
|
-
|
12
|
+
num.times do
|
13
|
+
idea = gameidea
|
14
|
+
puts "#{idea[:where]} #{idea[:who]} #{idea[:what]}"
|
15
|
+
end
|