summaryrefslogtreecommitdiff
path: root/lib/rake/file_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/file_list.rb')
-rw-r--r--lib/rake/file_list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/file_list.rb b/lib/rake/file_list.rb
index 0b60925f09..f32b8c62a4 100644
--- a/lib/rake/file_list.rb
+++ b/lib/rake/file_list.rb
@@ -391,7 +391,7 @@ module Rake
end
# Get a sorted list of files matching the pattern. This method
- # should be prefered to Dir[pattern] and Dir.glob(pattern) because
+ # should be preferred to Dir[pattern] and Dir.glob(pattern) because
# the files returned are guaranteed to be sorted.
def glob(pattern, *args)
Dir.glob(pattern, *args).sort