Sha256: 6214b81d2b674b52be82d109913732280d6c02460350e81cbdb8f50d8459ed35

Contents?: true

Size: 343 Bytes

Versions: 9

Compression:

Stored size: 343 Bytes

Contents

require_relative '../../feature/go/merge_exec'

module IronWorkerNG
  module Code
    module Runtime
      module Go
        include IronWorkerNG::Feature::Go::MergeExec::InstanceMethods

        def runtime_run_code(local = false)
          <<RUN_CODE
go run #{File.basename(@exec.path)} "$@"
RUN_CODE
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
iron_worker_ng-0.10.2 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.10.1 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.10.0 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.6 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.5 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.4 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.2 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.1 lib/iron_worker_ng/code/runtime/go.rb
iron_worker_ng-0.9.0 lib/iron_worker_ng/code/runtime/go.rb