diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-10-28 20:44:58 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-10-28 20:44:58 +0200 |
commit | 83776676e54b387fc52081ff31cfd7710bae9e03 (patch) | |
tree | 659ccce3c9b437ede7d1ecf86edd25aa67bbbd02 /railties/lib/rails/commands/generate | |
parent | 86bf5adaa810ef9d988cc64dbe1b466f0f74e817 (diff) | |
download | rails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.gz rails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.bz2 rails-83776676e54b387fc52081ff31cfd7710bae9e03.zip |
Hide commands from API site.
They're just barren on the site and confure more than guide, instead
rely on the built in --help to guide users.
Diffstat (limited to 'railties/lib/rails/commands/generate')
-rw-r--r-- | railties/lib/rails/commands/generate/generate_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/generate/generate_command.rb b/railties/lib/rails/commands/generate/generate_command.rb index b381ca85b9..59b2febc43 100644 --- a/railties/lib/rails/commands/generate/generate_command.rb +++ b/railties/lib/rails/commands/generate/generate_command.rb @@ -2,8 +2,8 @@ require "rails/generators" module Rails module Command - class GenerateCommand < Base - def help # :nodoc: + class GenerateCommand < Base # :nodoc: + def help Rails::Generators.help self.class.command_name end |