class Roma::Test::RomaProc
Attributes
addr[RW]
pid[RW]
port[RW]
Public Class Methods
new(a, p)
click to toggle source
# File lib/roma/tools/test-scenario.rb 16 def initialize a, p 17 @addr = a 18 @port = p 19 end
to_str(procs)
click to toggle source
# File lib/roma/tools/test-scenario.rb 21 def self.to_str procs 22 msg = "" 23 procs.each { |proc| 24 msg = msg + proc.addr + "_" + proc.port.to_s + " " 25 } 26 msg 27 end