Method: Moneta::Wrapper#values_at
- Defined in:
- lib/moneta/wrapper.rb
#values_at(*keys, **options) ⇒ Array<Object, nil>
Note:
Some adapters may implement this method atomically, but the default implementation simply makes repeated calls to #load.
Returns an array containing the values associated with the given keys, in the same order as the supplied keys. If a key is not present in the key-value-store, nil is returned in its place.
56 57 58 |
# File 'lib/moneta/wrapper.rb', line 56 def values_at(*keys, **) wrap(:values_at, keys, ) { super } end |