require "P4" p4 = P4.new p4.parse_forms p4.connect p4.run_info.each do |l| printf("Line: %s\n", l); # l.keys.each{|k| printf("Key: %s\n", k)} end