Class: ODisk::Crypter
- Inherits:
-
Opee::Actor
- Object
- Opee::Actor
- ODisk::Crypter
- Defined in:
- lib/odisk/crypter.rb
Overview
Encrypts and decrypts file using GnuPG.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Crypter
constructor
A new instance of Crypter.
- #set_options(options) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Crypter
Returns a new instance of Crypter.
6 7 8 9 |
# File 'lib/odisk/crypter.rb', line 6 def initialize(={}) super() @crypt_queue.ask(:ready, self) end |
Instance Method Details
#set_options(options) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/odisk/crypter.rb', line 11 def () super() @crypt_queue = [:crypt_queue] @copy_queue = [:copy_queue] @fixer = [:fixer] end |