Class: RESTFrameworkCustomGeneratorControllerNamespace
- Inherits:
-
String
- Object
- String
- RESTFrameworkCustomGeneratorControllerNamespace
- Defined in:
- lib/rest_framework/generators/controller_generator.rb
Overview
Most projects don’t have the inflection “REST” as an acronym, so this is a helper class to prevent this generator from being namespaced under ‘r_e_s_t_framework`. :nocov:
Instance Method Summary collapse
Instance Method Details
#camelize ⇒ Object
7 8 9 |
# File 'lib/rest_framework/generators/controller_generator.rb', line 7 def camelize return "RESTFramework" end |