module EasyEncryption
Constants
- VERSION
Public Class Methods
setup(key)
click to toggle source
sets up EasyEncryption
.
EasyEncryption.setup('secret')
# File lib/easy_encryption.rb, line 11 def self.setup(key) String.send :include, InstanceMethods String.send :extend, ClassMethods String.create_simple_box key end