class Rack::Protection::EncryptedCookie::Marshal

Public Instance Methods

decode(str) click to toggle source
# File lib/rack/protection/encrypted_cookie.rb, line 136
def decode(str)
  ::Marshal.load(str) if str
end
encode(str) click to toggle source
# File lib/rack/protection/encrypted_cookie.rb, line 132
def encode(str)
  ::Marshal.dump(str)
end