From db60c74f09f834cda6291655337a38a2dea7b54c Mon Sep 17 00:00:00 2001 From: ariaru Date: Sun, 17 May 2015 22:47:44 +0200 Subject: [PATCH] Update 04-load_path.md Substitute "require" for "ruby" because it looked like a mistake to me :) --- source/02-libraries/04-load_path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/02-libraries/04-load_path.md b/source/02-libraries/04-load_path.md index 32ddf37..4258daf 100644 --- a/source/02-libraries/04-load_path.md +++ b/source/02-libraries/04-load_path.md @@ -21,7 +21,7 @@ starts your program. `puts` is smart enough to put each string in that array on a separate line. Each of these lines represents a directory on your computer where Ruby files -are stored. If you use `require` anywhere in your application (e.g. `ruby +are stored. If you use `require` anywhere in your application (e.g. `require "digest"`) then Ruby will look for a Ruby file with the same name (e.g. `digest.rb`) in each of these directories. It will load the first file with this name that it can find.