mandy 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/task.rb +3 -2
- metadata +1 -1
data/lib/task.rb
CHANGED
@@ -13,8 +13,9 @@ module Mandy
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def emit(key, value=nil)
|
16
|
-
|
17
|
-
@output.
|
16
|
+
data = value.nil? ? key.to_s : "#{output_serialize_key(key)}\t#{output_serialize_value(value)}"
|
17
|
+
throw "#{@output.inspect} :: #{data.inspect}"
|
18
|
+
@output.puts(data)
|
18
19
|
end
|
19
20
|
|
20
21
|
def get(store, key)
|