method

commands

rails latest stable - Class: Rails::Command

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

commands()
private

No documentation available.

# File railties/lib/rails/command.rb, line 100
        def commands
          lookup!

          visible_commands = (subclasses - hidden_commands).flat_map(&:printing_commands)

          (visible_commands - COMMANDS_IN_USAGE).sort
        end