From ab3bfd06f97f5d1f9f4d1059661147eab908719d Mon Sep 17 00:00:00 2001 From: github username Date: Mon, 29 Jun 2020 16:45:12 -0400 Subject: [PATCH] Done. --- bin/run | 5 ++--- config/environment.rb | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/run b/bin/run index 4b8a5e6..b0d88ac 100755 --- a/bin/run +++ b/bin/run @@ -1,7 +1,6 @@ #!/usr/bin/env ruby -require_relative '../lib/garden.rb' -require_relative '../lib/plant.rb' +require_relative '../config/environment.rb' lawn = Garden.new(name: 'Front Lawn') @@ -11,4 +10,4 @@ basil.garden = lawn cucumber = Plant.new(name: 'Cucumber') cucumber.garden = lawn -p lawn.plants \ No newline at end of file +pp lawn.plants \ No newline at end of file diff --git a/config/environment.rb b/config/environment.rb index 068196f..c05cc29 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,4 +1,5 @@ -# Require statements should go here. +require_relative '../lib/garden.rb' +require_relative '../lib/plant.rb' # Then any files that need to load the files required here can # require THIS file, environment.rb, and get access to everything \ No newline at end of file