ruby Class for an interactive dog