Permalink
Browse files

Merge pull request #10568 from siong1987/minor-refactoring

Clean up unused method for `rake doc`.
  • Loading branch information...
2 parents e4ec944 + 524f09a commit 057b159a7b6d91e8658d065060a61dc162976c63 @fxn fxn committed May 11, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 railties/lib/rails/tasks/documentation.rake
@@ -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']

0 comments on commit 057b159

Please sign in to comment.