Module: VhostGenerator

Defined in:
lib/vhost_generator.rb,
lib/vhost_generator/version.rb,
lib/vhost_generator/application.rb,
lib/vhost_generator/cmdline_builder.rb,
lib/vhost_generator/nginx_generator.rb,
lib/vhost_generator/apache_generator.rb,
lib/vhost_generator/vhost_configuration.rb,
lib/vhost_generator/vhost_generator_module.rb

Defined Under Namespace

Classes: ApacheGenerator, Application, CmdlineBuilder, NginxGenerator, VhostConfiguration

Constant Summary collapse

VERSION =
"0.3.4"

Class Method Summary collapse

Class Method Details

.applicationObject

Current VhostGenerator Application



9
10
11
# File 'lib/vhost_generator/vhost_generator_module.rb', line 9

def application
  @application ||= VhostGenerator::Application.new
end

.application=(app) ⇒ Object

Set the current VhostGenerator application object.



14
15
16
# File 'lib/vhost_generator/vhost_generator_module.rb', line 14

def application=(app)
  @application = app
end