Permalink
Browse files

Merge pull request #30 from sideshowbandana/mock_get_multi_fix

Fix method definition for Cash::Mock#get_multi
  • Loading branch information...
ashleym1972 committed Jan 11, 2013
2 parents 09638f0 + 2dfa219 commit 848b12f57ed7a9cb8f7e93f6a3c2d1916eba4cde
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cash/mock.rb
View
@@ -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

0 comments on commit 848b12f

Please sign in to comment.