Class: Ptero::Generator::PHPGenerator
- Inherits:
-
Ptero::Generator
- Object
- Ptero::Generator
- Ptero::Generator::PHPGenerator
- Defined in:
- lib/ptero/generators/phpgenerator.rb
Overview
Generator for PHP files
Direct Known Subclasses
ConfigGenerator, LandingGenerator, LoadAllGenerator, PHPClassGenerator, PHPInfoGenerator, RoutesGenerator, SetupGenerator
Constant Summary
Constants inherited from Ptero::Generator
Instance Attribute Summary
Attributes inherited from Ptero::Generator
Instance Method Summary collapse
-
#extension ⇒ String
“php”.
-
#path ⇒ String
“php”.
Methods inherited from Ptero::Generator
const_missing, #content, #content_params, #filename, #generate, #generated?, #initialize, #location, #reload, #remove, #template_path, #to_s, #type
Constructor Details
This class inherits a constructor from Ptero::Generator
Instance Method Details
#extension ⇒ String
Returns “php”.
11 12 13 |
# File 'lib/ptero/generators/phpgenerator.rb', line 11 def extension 'php' end |
#path ⇒ String
Returns “php”.
15 16 17 |
# File 'lib/ptero/generators/phpgenerator.rb', line 15 def path 'php' end |