Top Level Namespace
Defined Under Namespace
Modules: Canzea, ViewHelpers
Classes: AddEnv, ApplyConfig, Audit, ConfigGitCommit, Ecosystem, GenUser, GetCatalog, HelperRun, Login, ManagedError, PlanStep, PrepareEnvironment, PreparePlan, PushConfig, RegisterMetadata, Registry, RemoteCall, RemoteInit, RemoteRun, Resources, RunnerWorker, Template, UpdateConfig, Worker
Instance Method Summary
collapse
Instance Method Details
#handleIO(stillOpen, ioArray, io, log) ⇒ Object
12
13
14
15
16
17
18
19
20
|
# File 'lib/canzea/core/trace-runner.rb', line 12
def handleIO(stillOpen, ioArray, io, log)
if ioArray.include?(io)
begin
log.write(io.readpartial(4096))
rescue EOFError
stillOpen.delete_if{|s| s == io}
end
end
end
|
#time_diff_milli(start, finish) ⇒ Object
8
9
10
|
# File 'lib/canzea/core/trace-runner.rb', line 8
def time_diff_milli(start, finish)
(finish - start) * 1000.0
end
|