lib/dynflow/delayed_executors/abstract.rb in dynflow-0.8.26 vs lib/dynflow/delayed_executors/abstract.rb in dynflow-0.8.27
- old
+ new
@@ -16,21 +16,21 @@
def terminate
@core.ask(:terminate!)
end
- private
-
- def core_class
- raise NotImplementedError
- end
-
def spawn
Concurrent.future.tap do |initialized|
@core = core_class.spawn name: 'delayed-executor',
args: [@world, @options],
initialized: initialized
end
+ end
+
+ private
+
+ def core_class
+ raise NotImplementedError
end
end
end
end