summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/ri
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 07:13:09 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 07:13:09 +0000
commitbcd54b6b6315384badbcea0b6d31f5da72369f2d (patch)
treec5011349f822466acbeff7777e4b0fd6be6bb9a0 /lib/rdoc/ri
parent233eae8fc29b462654dcaa5578f6a7f0af059852 (diff)
downloadruby-bcd54b6b6315384badbcea0b6d31f5da72369f2d.tar.gz
ruby-bcd54b6b6315384badbcea0b6d31f5da72369f2d.tar.xz
ruby-bcd54b6b6315384badbcea0b6d31f5da72369f2d.zip
Fix 1.9 warnings in RDoc
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri')
-rw-r--r--lib/rdoc/ri/ri_paths.rb2
1 files changed, 1 insertions, 1 deletions
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