method

namespace

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.