Class: Reacto::Operations::TrackOn
- Inherits:
-
Object
- Object
- Reacto::Operations::TrackOn
- Defined in:
- lib/reacto/operations/track_on.rb
Instance Method Summary collapse
- #call(tracker) ⇒ Object
-
#initialize(executor) ⇒ TrackOn
constructor
A new instance of TrackOn.
Constructor Details
#initialize(executor) ⇒ TrackOn
Returns a new instance of TrackOn.
6 7 8 |
# File 'lib/reacto/operations/track_on.rb', line 6 def initialize(executor) @executor = executor end |
Instance Method Details
#call(tracker) ⇒ Object
10 11 12 |
# File 'lib/reacto/operations/track_on.rb', line 10 def call(tracker) Subscriptions::ExecutorSubscription.new(tracker, @executor) end |