зеркало из https://github.com/github/ruby.git
Use `start_with?(quoted)` instead of `[0] == char literal`
This commit is contained in:
Родитель
efda52ba62
Коммит
d56b0cb554
|
@ -15,7 +15,7 @@
|
|||
#
|
||||
# Find.find(ENV["HOME"]) do |path|
|
||||
# if FileTest.directory?(path)
|
||||
# if File.basename(path)[0] == ?.
|
||||
# if File.basename(path).start_with?('.')
|
||||
# Find.prune # Don't look any further into this directory.
|
||||
# else
|
||||
# next
|
||||
|
|
Загрузка…
Ссылка в новой задаче