Class: Repp::Ticker::Task

Inherits:
Object
  • Object
show all
Includes:
Concurrent::Async
Defined in:
lib/repp/ticker.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.appObject



14
# File 'lib/repp/ticker.rb', line 14

def app; @app end

.app=(app) ⇒ Object



13
# File 'lib/repp/ticker.rb', line 13

def app=(app); @app = app end

Instance Method Details

#tick(event) ⇒ Object



17
18
19
# File 'lib/repp/ticker.rb', line 17

def tick(event)
  Task.app.call(event)
end