Class: RailsExecution::Services::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_execution/services/executor.rb

Instance Method Summary collapse

Constructor Details

#initialize(task) ⇒ Executor

Returns a new instance of Executor.



5
6
7
8
# File 'lib/rails_execution/services/executor.rb', line 5

def initialize(task)
  @task = task
  @file_reader = ::RailsExecution.configuration.file_reader.new(task)
end

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/rails_execution/services/executor.rb', line 10

def call
  raise NotImplementedError
end