Class: Rack::Session::Cookie::Reverse

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/session/cookie.rb

Overview

Reverse string encoding. (trollface)

Instance Method Summary collapse

Instance Method Details

#decode(str) ⇒ Object



76
# File 'lib/rack/session/cookie.rb', line 76

def decode(str); str.reverse; end

#encode(str) ⇒ Object



75
# File 'lib/rack/session/cookie.rb', line 75

def encode(str); str.reverse; end