class SocialAvatarProxy::Configuration::Caches
Public Instance Methods
fetch(*args, &block)
click to toggle source
# File lib/social_avatar_proxy/configuration/caches.rb, line 4 def fetch(*args, &block) if cache = delete_at(0) cache.fetch(*args) do fetch(*args, &block) end else block.yield end end