demo ruby program