Methods
Instance Public methods
expires_at()
Source code
# File activesupport/lib/active_support/cache.rb, line 1078
def expires_at
@options[:expires_at]
end
See on GitHub
expires_at=(expires_at)
Source code
# File activesupport/lib/active_support/cache.rb, line 1082
def expires_at=(expires_at)
@options.delete(:expires_in)
@options[:expires_at] = expires_at
end
See on GitHub
expires_in()
Source code
# File activesupport/lib/active_support/cache.rb, line 1069
def expires_in
@options[:expires_in]
end
See on GitHub
expires_in=(expires_in)
Source code
# File activesupport/lib/active_support/cache.rb, line 1073
def expires_in=(expires_in)
@options.delete(:expires_at)
@options[:expires_in] = expires_in
end
See on GitHub
version()
Source code
# File activesupport/lib/active_support/cache.rb, line 1061
def version
@options[:version]
end
See on GitHub
version=(version)
Source code
# File activesupport/lib/active_support/cache.rb, line 1065
def version=(version)
@options[:version] = version
end
See on GitHub