Class: FileWorker::DefaultWorker
- Inherits:
-
Object
- Object
- FileWorker::DefaultWorker
- Defined in:
- lib/file_worker/default_worker.rb
Instance Method Summary collapse
-
#initialize(file_name, options) ⇒ DefaultWorker
constructor
A new instance of DefaultWorker.
- #process ⇒ Object
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, ) @file_name = file_name end |
Instance Method Details
#process ⇒ Object
7 8 9 |
# File 'lib/file_worker/default_worker.rb', line 7 def process puts @file_name end |