require_relative '../feature/node/merge_worker' module IronWorkerNG module Code class Node < IronWorkerNG::Code::Base include IronWorkerNG::Feature::Node::MergeWorker::InstanceMethods def create_runner(zip, init_code) IronWorkerNG::Logger.info 'Creating node runner' unless @worker IronWorkerNG::Logger.error 'No worker specified' raise 'No worker specified' end zip.get_output_stream('runner.rb') do |runner| runner.write < 'node', :klass => IronWorkerNG::Code::Node)