Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_relative 'cookbook' # You need to create this file!
- require_relative 'controller' # You need to create this file!
- require_relative 'router'
- # method to open the file
- csv_file = File.join(__dir__, 'recipes.csv')
- cookbook = Cookbook.new(csv_file)
- controller = Controller.new(cookbook)
- router = Router.new(controller)
- # Start the app
- router.run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement