Class: PhusionPassenger::AdminTools::ServerInstance::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/phusion_passenger/admin_tools/server_instance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app_root, name, environment) ⇒ Group

Returns a new instance of Group.



65
66
67
68
69
70
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 65

def initialize(app_root, name, environment)
	@app_root = app_root
	@name = name
	@environment = environment
	@processes = []
end

Instance Attribute Details

#app_rootObject (readonly)

Returns the value of attribute app_root.



63
64
65
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 63

def app_root
  @app_root
end

#environmentObject (readonly)

Returns the value of attribute environment.



63
64
65
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 63

def environment
  @environment
end

#nameObject (readonly)

Returns the value of attribute name.



63
64
65
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 63

def name
  @name
end

#processesObject (readonly)

Returns the value of attribute processes.



63
64
65
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 63

def processes
  @processes
end