Sha256: 3357b66c4da7be22c7463321e2c29e6c145e21430e818c429cbde156912e8f6a

Contents?: true

Size: 401 Bytes

Versions: 16

Compression:

Stored size: 401 Bytes

Contents

require_relative '../feature/node/merge_exec'

module IronWorkerNG
  module Code
    class Node < IronWorkerNG::Code::Base
      include IronWorkerNG::Feature::Node::MergeExec::InstanceMethods

      def run_code
        <<RUN_CODE
node #{File.basename(@exec.path)} "$@"
RUN_CODE
      end
    end
  end
end

IronWorkerNG::Code::Base.register_type(:name => 'node', :klass => IronWorkerNG::Code::Node)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
iron_worker_ng-0.7.4 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.7.3 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.7.2 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.7.1 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.7.0 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.8 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.7 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.6 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.5 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.4 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.3 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.2 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.1 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.6.0 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.5.1 lib/iron_worker_ng/code/node.rb
iron_worker_ng-0.5.0 lib/iron_worker_ng/code/node.rb