markbates / mack-more
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
af4dac2
commit af4dac212e242b917ceaab5bec3233caa199295d
tree d7ba99a3e8763621f795a405a5b1a62f3db3a41f
parent 84155097ab040c81f2a281989ba2d23d539fce0a
tree d7ba99a3e8763621f795a405a5b1a62f3db3a41f
parent 84155097ab040c81f2a281989ba2d23d539fce0a
| af4dac21 » | markbates | 2008-08-12 | 1 | require 'rubygems' | |
| 2 | gem 'rspec' | ||||
| 3 | require 'spec' | ||||
| 4 | require 'mack-facets' | ||||
| 5 | require 'application_configuration' | ||||
| 6 | require File.join(File.dirname(__FILE__), "..", "lib", "mack-encryption") | ||||
| 7 | |||||
| 8 | module Mack | ||||
| 9 | module Utils | ||||
| 10 | module Crypt | ||||
| 11 | class ReverseWorker | ||||
| 12 | |||||
| 13 | def encrypt(x) | ||||
| 14 | x.reverse | ||||
| 15 | end | ||||
| 16 | |||||
| 17 | def decrypt(x) | ||||
| 18 | x.reverse | ||||
| 19 | end | ||||
| 20 | |||||
| 21 | end | ||||
| 22 | end | ||||
| 23 | end | ||||
| 24 | end | ||||
