Class: RESTFrameworkCustomGeneratorControllerNamespace
- Inherits:
-
String
- Object
- String
- RESTFrameworkCustomGeneratorControllerNamespace
- Defined in:
- lib/rest_framework/generators/controller_generator.rb
Overview
Some 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
8 9 10 |
# File 'lib/rest_framework/generators/controller_generator.rb', line 8 def camelize return "RESTFramework" end |