Sha256: 93ac975ea2ca16b03eb09637855f3c0249db1fb20aded6c783a2361a12630db8
Contents?: true
Size: 424 Bytes
Versions: 56
Compression:
Stored size: 424 Bytes
Contents
require "foreman" class Foreman::ProcfileEntry attr_reader :name attr_reader :command attr_accessor :color def initialize(name, command) @name = name @command = command end def spawn(num, pipe, basedir, environment, base_port) (1..num).to_a.map do |n| process = Foreman::Process.new(self, n, base_port + (n-1)) process.run(pipe, basedir, environment) process end end end
Version data entries
56 entries across 56 versions & 1 rubygems