Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Vehicle
- def initialize(number_of_wheels, type_of_tank, seating_capacity, maximum_velocity)
- @number_of_wheels = number_of_wheels
- @type_of_tank = type_of_tank
- @seating_capacity = seating_capacity
- @maximum_velocity = maximum_velocity
- end
- def make_noise
- "VRRRRUUUUM"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement