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.
Instance Method Summary collapse
-
#initialize(app_root, name, environment) ⇒ Group
constructor
A new instance of Group.
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_root ⇒ Object (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 |
#environment ⇒ Object (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 |
#name ⇒ Object (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 |
#processes ⇒ Object (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 |