diff options
author | Xavier Noria <fxn@hashref.com> | 2013-05-11 03:19:37 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-05-11 03:19:37 -0700 |
commit | 057b159a7b6d91e8658d065060a61dc162976c63 (patch) | |
tree | 125a521b01f6972474a1d1e63b672a10f9203313 | |
parent | e4ec944eacbb58ed682614cb3271dc58e4d71b52 (diff) | |
parent | 524f09a5e7fe8f8a8ee1bdbaa32a944e1981f10c (diff) | |
download | rails-057b159a7b6d91e8658d065060a61dc162976c63.tar.gz rails-057b159a7b6d91e8658d065060a61dc162976c63.tar.bz2 rails-057b159a7b6d91e8658d065060a61dc162976c63.zip |
Merge pull request #10568 from siong1987/minor-refactoring
Clean up unused method for `rake doc`.
-rw-r--r-- | railties/lib/rails/tasks/documentation.rake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/tasks/documentation.rake b/railties/lib/rails/tasks/documentation.rake index d45e892424..8544890553 100644 --- a/railties/lib/rails/tasks/documentation.rake +++ b/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'] |