Sha256: a1ae1162e5736f3d09720c268ca96a5d105290a85520caf6c3d5e35ffe490343
Contents?: true
Size: 342 Bytes
Versions: 5
Compression:
Stored size: 342 Bytes
Contents
module CacheKeeper class Store < Array def find_by(klass, method_name) find do |cached_method| cached_method.klass == klass && cached_method.method_name == method_name end end def autorefreshed select do |cached_method| cached_method.options[:autorefresh].present? end end end end
Version data entries
5 entries across 5 versions & 1 rubygems