A Model for Representing Ruby Circuits