Class: Ptero::Generator::ApplicationControllerGenerator
- Inherits:
-
ControllerGenerator
- Object
- Ptero::Generator
- PHPGenerator
- PHPClassGenerator
- ControllerGenerator
- Ptero::Generator::ApplicationControllerGenerator
- Defined in:
- lib/ptero/generators/applicationcontrollergenerator.rb
Overview
applicationcontrollergenerator.rb
generate the superclass of controllers
Constant Summary
Constants inherited from Ptero::Generator
Instance Attribute Summary
Attributes inherited from PHPClassGenerator
Attributes inherited from Ptero::Generator
Instance Method Summary collapse
-
#initialize(name = 'Application') ⇒ ApplicationControllerGenerator
constructor
A new instance of ApplicationControllerGenerator.
Methods inherited from ControllerGenerator
Methods inherited from PHPGenerator
Methods inherited from Ptero::Generator
const_missing, #content, #content_params, #extension, #filename, #generate, #generated?, #location, #path, #reload, #remove, #template_path, #to_s, #type
Constructor Details
#initialize(name = 'Application') ⇒ ApplicationControllerGenerator
Returns a new instance of ApplicationControllerGenerator.
11 12 13 |
# File 'lib/ptero/generators/applicationcontrollergenerator.rb', line 11 def initialize(name='Application') super(name,'\Dinosaur\\') end |