MissionHub 1.0rc8 → 1.0rc9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/missionhub/person.rb +7 -1
- data/lib/missionhub/version.rb +1 -1
- metadata +1 -1
data/lib/missionhub/person.rb
CHANGED
@@ -34,7 +34,13 @@ module MissionHub
|
|
34
34
|
if message.is_a?(String) or message.is_a?(Hash) or message.is_a?(Array)
|
35
35
|
if id.is_a?(Integer)
|
36
36
|
if message.is_a?(Array)
|
37
|
-
|
37
|
+
h = {}
|
38
|
+
count = 0
|
39
|
+
message.each do |v|
|
40
|
+
h[count] = v
|
41
|
+
count += 1
|
42
|
+
end
|
43
|
+
message = h
|
38
44
|
end
|
39
45
|
@answers[id] = message
|
40
46
|
else
|
data/lib/missionhub/version.rb
CHANGED