require "P4" p4 = P4.new p4.parse_forms p4.connect p4.run_users.each do |u| u.keys.each do |k| printf("Key: %s - %s\n", k, u[k]); end end