Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Chef
- # Habilito poder consultar el nombre y restaurant
- # sobre las instancias de la clase Chef
- attr_reader :name, :restaurant
- def initialize(name, restaurant)
- @name = name
- @restaurant = restaurant # -> An instance of the class Restaurant
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement