Methods

Included Modules

Constants

MARSHAL_SIGNATURE = "\x04\x08".b.freeze

Instance Public methods

_load(dumped)

📝 Source code
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 109
          def _load(dumped)
            marshal_load(dumped)
          end
🔎 See on GitHub

dump(value)

📝 Source code
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 105
          def dump(value)
            Marshal.dump(value)
          end
🔎 See on GitHub

dumped?(dumped)

📝 Source code
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 113
          def dumped?(dumped)
            dumped.start_with?(MARSHAL_SIGNATURE)
          end
🔎 See on GitHub