Module: EasyEncryption::ClassMethods
- Defined in:
- lib/easy_encryption/class_methods.rb
Instance Method Summary collapse
-
#cipher ⇒ Object
returns a Gibberish cipher.
Instance Method Details
#cipher ⇒ Object
returns a Gibberish cipher
6 7 8 9 |
# File 'lib/easy_encryption/class_methods.rb', line 6 def cipher # create/use a cipher in the context of the String singleton instance_exec EasyEncryption.cipher_key, &EasyEncryption::CREATE_CIPHER end |