Class: Ptero::Generator::PHPInfoGenerator

Inherits:
PHPGenerator show all
Defined in:
lib/ptero/generators/phpinfogenerator.rb

Overview

A generator for files that call phpinfo(); to show PHP configuration

Instance Attribute Summary

Attributes inherited from Ptero::Generator

#app, #dir, #name

Instance Method Summary collapse

Methods inherited from PHPGenerator

#extension, #path

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

#initializePHPInfoGenerator

Name is always “phpinfo”



10
11
12
13
14
# File 'lib/ptero/generators/phpinfogenerator.rb', line 10

def initialize
  super 'phpinfo'
  
  
end