# File lib/ruote/engine.rb, line 58 def initialize (worker_or_storage, run=true) @context = worker_or_storage.context @context.engine = self @variables = EngineVariables.new(@context.storage) @context.worker.run_in_thread if @context.worker && run # launch the worker if there is one end