aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/session/marshal_serializer.rb
blob: 26622f682dfeb03fd2813eca5adddde5b2fc9735 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module ActionDispatch
  module Session
    class MarshalSerializer
      def self.load(value)
        Marshal.load(value)
      end

      def self.dump(value)
        Marshal.dump(value)
      end
    end
  end
end