Sha256: 0d1c79f984e3952d9ffa60bc8e9a9ccc32cf3b0e4fca736a5fb4c846866477d5
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
module RPS class UI def initialize(io = $stdout, opts = {}) @io = io @opts = opts end def render(process) string = [] string << process.pid.to_s string << "[#{process.exe}]" string << process.command_line.join(' ') string << "cwd=#{process.cwd}" if @opts[:cwd] @io << string.join(' ') << "\n" end end # RPS end # UI
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rps-0.0.3 | lib/rps/ui.rb |