Class: PhusionPassenger::AdminTools::ServerInstance::Group
- Defined in:
- lib/phusion_passenger/admin_tools/server_instance.rb
Instance Attribute Summary collapse
-
#app_root ⇒ Object
readonly
Returns the value of attribute app_root.
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#processes ⇒ Object
readonly
Returns the value of attribute processes.
-
#spawning ⇒ Object
(also: #spawning?)
readonly
Returns the value of attribute spawning.
Instance Method Summary collapse
-
#initialize(app_root, name, environment, spawning) ⇒ Group
constructor
A new instance of Group.
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_root ⇒ Object (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 |
#environment ⇒ Object (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 |
#name ⇒ Object (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 |
#processes ⇒ Object (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 |
#spawning ⇒ Object (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 |