Class: EncryptData::Convert
Constant Summary
Constants inherited from Crypt
Instance Method Summary collapse
- #dump(value) ⇒ Object
-
#initialize(key = nil) ⇒ Convert
constructor
A new instance of Convert.
- #load(value) ⇒ Object
Methods inherited from Crypt
crypt, decrypt, encrypt, encryption_key
Constructor Details
#initialize(key = nil) ⇒ Convert
Returns a new instance of Convert.
11 12 13 |
# File 'lib/encrypt_data.rb', line 11 def initialize(key = nil) @key = key unless key.nil? end |