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

Encode session cookies as Marshaled `Base64` data

### Public Instance Methods

decode(str) click to toggle source
Calls superclass method `Rack::Session::Cookie::Base64#decode`

    # File lib/rack/session/cookie.rb, line 66
    def decode(str)
      return unless str
      ::Marshal.load(super(str)) rescue nil
    end

encode(str) click to toggle source
Calls superclass method `Rack::Session::Cookie::Base64#encode`

    # File lib/rack/session/cookie.rb, line 62
    def encode(str)
      super(::Marshal.dump(str))
    end