Sha256: 0e6cb74f11c6fb2e5405973ef426e63617e36a860dfc7cab44202c378d0b3783

Contents?: true

Size: 335 Bytes

Versions: 26

Compression:

Stored size: 335 Bytes

Contents

module IronWorkerNG
  module Code
    module Runtime
      module Binary
        include IronWorkerNG::Feature::Common::MergeExec::InstanceMethods

        def runtime_run_code(local = false)
          <<RUN_CODE
chmod +x #{File.basename(@exec.path)}

#{File.basename(@exec.path)} "$@"
RUN_CODE
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
iron_worker_ng-0.13.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.13.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.12.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.12.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.12.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.11.3 lib/iron_worker_ng/code/runtime/binary.rb