Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix method definition for Cash::Mock#get_multi

- keys are supplied to get_multi as *keys not as a single array of
keys
  • Loading branch information...
commit 2dfa219fbec8e4303748d881ed591899342e7f0c 1 parent 09638f0
@sideshowbandana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cash/mock.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.