Method: Ramaze::Cache#values_at
- Defined in:
- lib/ramaze/cache.rb
#values_at(*keys) ⇒ Object
Answers with value for each key.
108 109 110 111 112 |
# File 'lib/ramaze/cache.rb', line 108 def values_at(*keys) values = [] keys.each {|key| values << fetch(key) } values end |