Class: Orefs::Crypter

Inherits:
Opee::Actor
  • Object
show all
Defined in:
lib/orefs/crypter.rb

Instance Method Summary (collapse)

Constructor Details

- (Crypter) initialize(options = {})

A new instance of Crypter



5
6
7
8
# File 'lib/orefs/crypter.rb', line 5

def initialize(options={})
  super(options)
  @crypt_queue.ask(:ready, self)
end

Instance Method Details

- (Object) set_options(options)



10
11
12
13
14
15
# File 'lib/orefs/crypter.rb', line 10

def set_options(options)
  super(options)
  @crypt_queue = options[:crypt_queue]
  @copy_queue = options[:copy_queue]
  @fixer = options[:fixer]
end