require "P4" p4 = P4.new p4.parse_forms p4.connect p4.run_clients.each do |c| # c.keys.each {|k| printf("Key: %s\n", k)} printf("----------------\n") printf("Client: %s\n", c["client"]) client = p4.fetch_client(c["client"]) printf("Views:\n") client["View"].each {|v| printf(" %s\n", v)} end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4020 | Robert Cowham | Some example Ruby scripts |