method

base_name

base_name()
public

Sets the base_name taking into account the current class namespace.

Rails::Command::TestCommand.base_name # => 'rails'