instance method expires_in

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18 Private — implementation detail, not part of the public API

Signature

expires_in(options)

No documentation comment.

Parameters

options req
Source
# 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

Defined in activesupport/lib/active_support/cache.rb line 235 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Store

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close