Methods
D
E
Instance Public methods
decode(str)
# File lib/rack/session/cookie.rb, line 89
def decode(str)
  return unless str
  ::JSON.parse(Zlib::Inflate.inflate(super(str)))
rescue
  nil
end
encode(obj)
# File lib/rack/session/cookie.rb, line 85
def encode(obj)
  super(Zlib::Deflate.deflate(::JSON.dump(obj)))
end