The Ruby bindings for the Perforce Client API provide convenient classes within Ruby for communicating with Perforce SCM servers.