[前][次][番号順一覧][スレッド一覧]

ruby-changes:32573

From: hsbt <ko1@a...>
Date: Sun, 19 Jan 2014 14:48:38 +0900 (JST)
Subject: [ruby-changes:32573] hsbt:r44652 (trunk): * ext/psych/lib/psych.rb: fix typo by @jwworth [fix GH-500]

hsbt	2014-01-19 14:48:33 +0900 (Sun, 19 Jan 2014)

  New Revision: 44652

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44652

  Log:
    *  ext/psych/lib/psych.rb: fix typo by @jwworth [fix GH-500]
    *  lib/rake/file_list.rb: ditto

  Modified files:
    trunk/ext/psych/lib/psych.rb
    trunk/lib/rake/file_list.rb
Index: lib/rake/file_list.rb
===================================================================
--- lib/rake/file_list.rb	(revision 44651)
+++ lib/rake/file_list.rb	(revision 44652)
@@ -391,7 +391,7 @@ module Rake https://github.com/ruby/ruby/blob/trunk/lib/rake/file_list.rb#L391
       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
Index: ext/psych/lib/psych.rb
===================================================================
--- ext/psych/lib/psych.rb	(revision 44651)
+++ ext/psych/lib/psych.rb	(revision 44652)
@@ -72,7 +72,7 @@ require 'psych/class_loader' https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L72
 # ==== 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'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]