ruby program class