From bcd54b6b6315384badbcea0b6d31f5da72369f2d Mon Sep 17 00:00:00 2001 From: drbrain Date: Sun, 23 Dec 2007 07:13:09 +0000 Subject: Fix 1.9 warnings in RDoc git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/ri_paths.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/ri') diff --git a/lib/rdoc/ri/ri_paths.rb b/lib/rdoc/ri/ri_paths.rb index 4a67e44ba..167b4b521 100644 --- a/lib/rdoc/ri/ri_paths.rb +++ b/lib/rdoc/ri/ri_paths.rb @@ -55,7 +55,7 @@ module RI def self.path(use_system, use_site, use_home, use_gems, *extra_dirs) path = raw_path(use_system, use_site, use_home, use_gems, *extra_dirs) - return path.select { |path| File.directory? path } + return path.select { |directory| File.directory? directory } end # Returns the selected documentation directories including nonexistent -- cgit