method
expires_in
rails latest stable - Class:
ActiveSupport::Cache::Store
expires_in(options)private
No documentation available.
# File activesupport/lib/active_support/cache.rb, line 235
def expires_in(options)
expires_in = options && options[:expires_in]
raise ":expires_in must be a number" if expires_in && !expires_in.is_a?(Numeric)
expires_in || 0
end