Ruby for beginner series (7 of 11) — In real life, many objects that have common properties and habits, such as cars, motorbikes, trucks, and buses, all function as vehicles. Where they have the same characteristics as having wheels, there are machines, there are factories that make,…, how to implement the program so that the program codes for…