markbates / mack-more

All the extra stuff you could want for the Mack Framework.

This URL has Read+Write access

commit  af4dac212e242b917ceaab5bec3233caa199295d
tree    d7ba99a3e8763621f795a405a5b1a62f3db3a41f
parent  84155097ab040c81f2a281989ba2d23d539fce0a
mack-more / mack-encryption / spec / spec_helper.rb
af4dac21 » markbates 2008-08-12 Refactored out encryption i... 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