instance method
expires_in
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3 PrivateSignature
expires_in(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 118
def expires_in(options)
(options && options[:expires_in]) || 0
end
Defined in activesupport/lib/active_support/cache/mem_cache_store.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemCacheStore