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, spawning) ⇒ Group

Returns a new instance of Group.



62
63
64
65
66
67
68
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 62

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

Instance Attribute Details

#app_rootObject (readonly)

Returns the value of attribute app_root.



58
59
60
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 58

def app_root
  @app_root
end

#environmentObject (readonly)

Returns the value of attribute environment.



58
59
60
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 58

def environment
  @environment
end

#nameObject (readonly)

Returns the value of attribute name.



58
59
60
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 58

def name
  @name
end

#processesObject (readonly)

Returns the value of attribute processes.



58
59
60
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 58

def processes
  @processes
end

#spawningObject (readonly) Also known as: spawning?

Returns the value of attribute spawning.



58
59
60
# File 'lib/phusion_passenger/admin_tools/server_instance.rb', line 58

def spawning
  @spawning
end