a guest Feb 17th, 2017 54 Never
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
RAW Paste Data