rsrquestions 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rsrquestions.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 597eb36b163e760243657bde3ac2ae5de7391987
|
4
|
+
data.tar.gz: edd297678065deb99dd22c50c156cd433914022f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f90df1df7fe689a2c585b0a81a5d8db725c2701e830904b758604c44bf560e002a72e692139a0813d13d5590c6b104436f2754e6cb419996ed22edca0b5000f
|
7
|
+
data.tar.gz: ed7c61b979096bfced360b3e40fc76e60cde0ba874f128684ac180477cd98c87f7d8f2420c3ee0d43d1ea2a55c68970387fbdf326ac7ac13dc2f6d0e40bec837
|
data/lib/rsrquestions.rb
CHANGED
@@ -106,12 +106,12 @@ thirty = rand(10...500)
|
|
106
106
|
thirtyone = rand(10...50)
|
107
107
|
quiz10 = "What is #{twentynine.to_s} * #{thirty.to_s} / #{thirtyone.to_s}?"
|
108
108
|
puts quiz10
|
109
|
-
answerten = twentynine
|
109
|
+
answerten = twentynine * thirty / thirtyone
|
110
110
|
|
111
111
|
|
112
112
|
|
113
113
|
return quiz1, answerone, quiz2, answertwo, quiz3, answerthree, quiz4, answerfour, quiz5, answerfive, quiz6, answersix, quiz7, answerseven, quiz8, answereight, quiz9, answernine, quiz10, answerten
|
114
114
|
end
|
115
115
|
end
|
116
|
-
|
116
|
+
|
117
117
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsrquestions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RSR
|
@@ -10,8 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
email: reynaldo.s.reyes.com
|
13
|
+
description: create random maths questions
|
14
|
+
email: reynaldo.s.reyes@gmail.com
|
15
15
|
executables: []
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|