Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # File: cars-6.rb
- #
- class Car
- def initialize(make, model, color)
- @make = make
- @model = model
- @color = color
- end
- attr_reader :make, :model, :color
- attr_writer :make, :model, :color
- end
- def print_values(values, column_size)
- ... same as +cars-5.rb+ ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement