class Rack::Session::Cookie::Base64::Marshal

Encode session cookies as Marshaled Base64 data

def decode(str)

def decode(str)
  return unless str
  ::Marshal.load(super(str)) rescue nil
end

def encode(str)

def encode(str)
  super(::Marshal.dump(str))
end