method

namespaced_commands

rails latest stable - Class: Rails::Command::Base

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.

namespaced_commands()
private

No documentation available.

# File railties/lib/rails/command/base.rb, line 163
          def namespaced_commands
            commands.keys.map do |key|
              if command_root_namespace.match?(/(\A|:)#{key}\z/)
                command_root_namespace
              else
                "#{command_root_namespace}:#{key}"
              end
            end
          end