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.



55
56
57
# File 'railties/lib/rails/command/base.rb', line 55

def hide_command!
  Rails::Command.hidden_commands << self
end