Method: EventMachine::HttpEncoding#encode_cookie
- Defined in:
- lib/em-http/http_encoding.rb
#encode_cookie(cookie) ⇒ Object
127 128 129 130 131 132 133 |
# File 'lib/em-http/http_encoding.rb', line 127 def () if .is_a? Hash .inject('') { |result, (k, v)| result << encode_param(k, v) + ";" } else end end |