diff options
author | Teng Siong Ong <siong1987@gmail.com> | 2013-05-11 03:12:59 -0700 |
---|---|---|
committer | Teng Siong Ong <siong1987@gmail.com> | 2013-05-11 03:12:59 -0700 |
commit | 524f09a5e7fe8f8a8ee1bdbaa32a944e1981f10c (patch) | |
tree | 125a521b01f6972474a1d1e63b672a10f9203313 /railties/lib | |
parent | e4ec944eacbb58ed682614cb3271dc58e4d71b52 (diff) | |
download | rails-524f09a5e7fe8f8a8ee1bdbaa32a944e1981f10c.tar.gz rails-524f09a5e7fe8f8a8ee1bdbaa32a944e1981f10c.tar.bz2 rails-524f09a5e7fe8f8a8ee1bdbaa32a944e1981f10c.zip |
Clean up unused method for `rake doc`.
Diffstat (limited to 'railties/lib')
-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'] |