diff options
Diffstat (limited to 'railties/lib/rails/commands/help/help_command.rb')
-rw-r--r-- | railties/lib/rails/commands/help/help_command.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/help/help_command.rb b/railties/lib/rails/commands/help/help_command.rb new file mode 100644 index 0000000000..5bcc4c8eee --- /dev/null +++ b/railties/lib/rails/commands/help/help_command.rb @@ -0,0 +1,13 @@ +module Rails + module Command + class HelpCommand < Base + hide_command! + + def help(*) + puts self.class.desc + + Rails::Command.print_commands + end + end + end +end |