Methods

Included Modules

Constants

MARSHAL_SIGNATURE = "\x04\x08"

Instance Public methods

_load(dumped)

📝 Source code
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 67
          def _load(dumped)
            Marshal.load(dumped)
          end
🔎 See on GitHub

dump(object)

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

dumped?(dumped)

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

format()

📝 Source code
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 59
          def format
            :marshal
          end
🔎 See on GitHub