public
Description: All the extra stuff you could want for the Mack Framework.
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack-more.git
mack-more / mack-encryption / spec / spec_helper.rb
100644 25 lines (20 sloc) 0.414 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rubygems'
gem 'rspec'
require 'spec'
require 'mack-facets'
require 'application_configuration'
require File.join(File.dirname(__FILE__), "..", "lib", "mack-encryption")
 
module Mack
  module Utils
    module Crypt
      class ReverseWorker
        
        def encrypt(x)
          x.reverse
        end
        
        def decrypt(x)
          x.reverse
        end
        
      end
    end
  end
end