class Rails::Command::Base
def namespace(name = nil)
same as Thor default except that the Command at the end of the class
Convenience method to get the namespace from the class name. It's the
def namespace(name = nil) if name super else @namespace ||= super.chomp("_command").sub(/:command:/, ":") end end