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-1.3.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.2.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.1.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.0.4 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.0.3 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.0.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.0.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-1.0.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.16.4 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.16.3 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.16.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.16.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.16.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.15.3 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.15.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.15.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.15.0 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.14.2 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.14.1 lib/iron_worker_ng/code/runtime/binary.rb
iron_worker_ng-0.14.0 lib/iron_worker_ng/code/runtime/binary.rb