class method
self.hide_command!
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
self.hide_command!()
Convenience method to hide this command from the available ones when running rails command.
Source
# File railties/lib/rails/command/base.rb, line 52
def hide_command!
Rails::Command.hidden_commands << self
end
Defined in railties/lib/rails/command/base.rb line 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Command::Base