fork download
  1. def process
  2. yield
  3. end
  4.  
  5. process do |gw|
  6. puts "gw: #{gw.inspect}"
  7. end
  8.  
Success #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
gw: nil