Class: Anachronic::BackgroundExecutor

Inherits:
Object
  • Object
show all
Defined in:
lib/anachronic/background_executor.rb

Overview

Class for deciding a background execution backend

Class Method Summary collapse

Class Method Details

.call(instance, method, *args) ⇒ Object



12
13
14
15
16
# File 'lib/anachronic/background_executor.rb', line 12

def call(instance, method, *args)
  no_executor unless executor

  executor.call(instance, method, *args)
end