method

namespace

v7.1.3.4 - Show latest stable - Class: Rails::Command::Base
namespace(name = nil)
public

Convenience method to get the namespace from the class name. It’s the same as Thor default except that the Command at the end of the class is removed.