instance method
available?
Ruby on Rails 7.1.6
Since v7.1.6 PrivateSignature
available?()
No documentation comment.
Source
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 157
def available?
return @available if defined?(@available)
silence_warnings { require "active_support/message_pack" }
@available = true
rescue LoadError
@available = false
end
Defined in activesupport/lib/active_support/cache/serializer_with_fallback.rb line 157
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback