aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:48:33 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:48:33 +0000
commit0558b8a5c40b93c01f5724fe8a3ab409d4374490 (patch)
tree7323ad730dc413cb7a8e76132804529960deff37
parent689755a1add0293a557cb22098e3c3dec375c4c6 (diff)
downloadruby-0558b8a5c40b93c01f5724fe8a3ab409d4374490.tar.gz
* ext/psych/lib/psych.rb: fix typo by @jwworth [fix GH-500]
* lib/rake/file_list.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/psych/lib/psych.rb2
-rw-r--r--lib/rake/file_list.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb
index 47802a48e7..e7cb0d0557 100644
--- a/ext/psych/lib/psych.rb
+++ b/ext/psych/lib/psych.rb
@@ -72,7 +72,7 @@ require 'psych/class_loader'
# ==== Exception handling
#
# begin
-# # The second argument chnages only the exception contents
+# # The second argument changes only the exception contents
# Psych.parse("--- `", "file.txt")
# rescue Psych::SyntaxError => ex
# ex.file # => 'file.txt'
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