Class: RailsExecution::Services::Executor
- Inherits:
-
Object
- Object
- RailsExecution::Services::Executor
- Defined in:
- lib/rails_execution/services/executor.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(task) ⇒ Executor
constructor
A new instance of Executor.
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
#call ⇒ Object
10 11 12 |
# File 'lib/rails_execution/services/executor.rb', line 10 def call raise NotImplementedError end |