Class: Reacto::Operations::TrackOn

Inherits:
Object
  • Object
show all
Defined in:
lib/reacto/operations/track_on.rb

Instance Method Summary collapse

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