* 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
This commit is contained in:
parent
689755a1ad
commit
0558b8a5c4
@ -72,7 +72,7 @@ require 'psych/class_loader'
|
|||||||
# ==== Exception handling
|
# ==== Exception handling
|
||||||
#
|
#
|
||||||
# begin
|
# begin
|
||||||
# # The second argument chnages only the exception contents
|
# # The second argument changes only the exception contents
|
||||||
# Psych.parse("--- `", "file.txt")
|
# Psych.parse("--- `", "file.txt")
|
||||||
# rescue Psych::SyntaxError => ex
|
# rescue Psych::SyntaxError => ex
|
||||||
# ex.file # => 'file.txt'
|
# ex.file # => 'file.txt'
|
||||||
|
@ -391,7 +391,7 @@ module Rake
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Get a sorted list of files matching the pattern. This method
|
# 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.
|
# the files returned are guaranteed to be sorted.
|
||||||
def glob(pattern, *args)
|
def glob(pattern, *args)
|
||||||
Dir.glob(pattern, *args).sort
|
Dir.glob(pattern, *args).sort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user