Fix method definition for Cash::Mock#get_multi #30

Merged
merged 1 commit into from Jan 11, 2013
+1 −1
View
2 lib/cash/mock.rb
@@ -57,7 +57,7 @@ def initialize
@logging = false
end
- def get_multi(keys)
+ def get_multi(*keys)
slice(*keys).collect { |k,v| [k, v.unmarshal] }.to_hash_without_nils
end