method
expires_at=
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::Cache::Entry
expires_at=(value)public
No documentation available.
# File activesupport/lib/active_support/cache.rb, line 604
def expires_at=(value)
if value
@expires_in = value.to_f - @created_at
else
@expires_in = nil
end
end