Encode session cookies as Base64

Namespace
Methods
D
E
Instance Public methods
decode(str)
# File lib/rack/session/cookie.rb, line 55
def decode(str)
  str.unpack('m').first
end
encode(str)
# File lib/rack/session/cookie.rb, line 51
def encode(str)
  [str].pack('m')
end