Merge pull request #10568 from siong1987/minor-refactoring

Clean up unused method for `rake doc`.
This commit is contained in:
Xavier Noria 2013-05-11 03:19:37 -07:00
commit 057b159a7b

@ -44,11 +44,6 @@ else
end
namespace :doc do
def gem_path(gem_name)
path = $LOAD_PATH.grep(/#{gem_name}[\w.-]*\/lib$/).first
yield File.dirname(path) if path
end
RDocTaskWithoutDescriptions.new("app") { |rdoc|
rdoc.rdoc_dir = 'doc/app'
rdoc.template = ENV['template'] if ENV['template']