summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2016-03-25 15:32:37 -0800
committerRyan Davis <ryand@zenspider.com>2016-03-25 15:32:37 -0800
commitc8c538ef2fb81457d278a4e4caa80573d48489cf (patch)
tree5a1cb50bf45ac7cf02361bb30ea5d08e7bdb5fa5 /lib
parent1e884305ed4c8104522314ac73fa1279f39e3bb9 (diff)
downloadhoe-c8c538ef2fb81457d278a4e4caa80573d48489cf.tar.gz
squelch warning
[git-p4: depot-paths = "//src/hoe/dev/": change = 10545]
Diffstat (limited to 'lib')
-rw-r--r--lib/hoe/publish.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hoe/publish.rb b/lib/hoe/publish.rb
index 4a8b656..73ff408 100644
--- a/lib/hoe/publish.rb
+++ b/lib/hoe/publish.rb
@@ -206,7 +206,7 @@ module Hoe::Publish
title = "#{group_name}'s #{title}" if group_name != name
rdoc = Gem.bin_wrapper "rdoc"
- unless File.exists? rdoc then
+ unless File.exist? rdoc then
warn "Can't find #{rdoc}. Falling back."
rdoc = "rdoc"
end