method
namespace
v5.0.0.1 -
Show latest stable
- Class:
Rails::Generators::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 Generator at the end of the class is removed.