Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@sideshowbandana
  • keys are supplied to get_multi as *keys not as a single array of keys
@sideshowbandana sideshowbandana Fix method definition for Cash::Mock#get_multi
- keys are supplied to get_multi as *keys not as a single array of
keys
2dfa219
@ashleym1972
Owner

Thanks for the fix.

@ashleym1972 ashleym1972 merged commit 848b12f into ngmoco:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 9, 2013
  1. @sideshowbandana

    Fix method definition for Cash::Mock#get_multi

    sideshowbandana authored
    - keys are supplied to get_multi as *keys not as a single array of
    keys
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.