Class: Synchronisable::Worker::Base Private
- Includes:
- Helper::Logging
- Defined in:
- lib/synchronisable/worker/base.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class for synchronization workers.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(synchronizer, source) ⇒ Base
constructor
private
A new instance of Base.
- #logger ⇒ Object private
Constructor Details
#initialize(synchronizer, source) ⇒ Base
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Base.
14 15 16 17 |
# File 'lib/synchronisable/worker/base.rb', line 14 def initialize(synchronizer, source) @synchronizer, @source = synchronizer, source @includes = source.includes end |
Instance Method Details
#logger ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/synchronisable/worker/base.rb', line 19 def logger @synchronizer.logger end |