Class: FileWorker::DefaultWorker

Inherits:
Object
  • Object
show all
Defined in:
lib/file_worker/default_worker.rb

Instance Method Summary collapse

Constructor Details

#initialize(file_name, options) ⇒ DefaultWorker

Returns a new instance of DefaultWorker.



3
4
5
# File 'lib/file_worker/default_worker.rb', line 3

def initialize(file_name, options)
  @file_name   = file_name
end

Instance Method Details

#processObject



7
8
9
# File 'lib/file_worker/default_worker.rb', line 7

def process
  puts @file_name
end