Class: RESTFramework::Generators::ControllerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RESTFramework::Generators::ControllerGenerator
- Defined in:
- lib/rest_framework/generators/controller_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_controller_file ⇒ Object
23 24 25 |
# File 'lib/rest_framework/generators/controller_generator.rb', line 23 def create_controller_file create_file "app/controllers/some_controller.rb", "# Add initialization content here" end |