Method: Rails::Command::Base.hide_command!
- Defined in:
- railties/lib/rails/command/base.rb
.hide_command! ⇒ Object
Convenience method to hide this command from the available ones when running rails command.
53 54 55 |
# File 'railties/lib/rails/command/base.rb', line 53 def hide_command! Rails::Command.hidden_commands << self end |