Commit b99bf278 by ivan Lan

Fix the last commit

parent 026e6e23
......@@ -35,7 +35,7 @@ module Shotengai
end
def values_at *keys
self.reduce([]) { |output, obj| output << obj.last if obj.first.in?(keys) }
self.reduce([]) { |output, obj| output << obj.last if obj.first.in?(keys); output }
end
def decode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment