aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/rails/commands/command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/command.rb b/railties/lib/rails/commands/command.rb
index 2e99046e9a..0d4d44ff89 100644
--- a/railties/lib/rails/commands/command.rb
+++ b/railties/lib/rails/commands/command.rb
@@ -31,7 +31,7 @@ module Rails
options_for(command_name) { |opts, _| opts.banner = banner }
end
- def exists?(task_name)
+ def exists?(task_name) # :nodoc:
command_name = self.class.command_name_for(task_name)
!command_for(command_name).nil?
end