Methods
Attributes
[RW] | file | |
[R] | io | |
[RW] | loadpath | |
[R] | pid | |
[RW] | real_file | |
[RW] | status |
Class Public methods
launch(ruby,args=[])
Link
new(io, pid, status)
Link
Instance Public methods
close()
Link
died(*additional)
Link
hook(id,&block)
Link
puts(*args)
Link
read()
Link
run(task,type)
Link
# File ../ruby/lib/test/unit.rb, line 260 def run(task,type) @file = File.basename(task).gsub(/\.rb/,"") @real_file = task begin puts "loadpath #{[Marshal.dump($:-@loadpath)].pack("m").gsub("\n","")}" @loadpath = $:.dup puts "run #{task} #{type}" @status = :prepare rescue Errno::EPIPE died rescue IOError raise unless ["stream closed","closed stream"].include? $!.message died end end
to_s()
Link
Instance Private methods