Class: ProcessWanker::ConfigDaemonServices
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigDaemonServices
- Defined in:
- lib/config/config_daemon_services.rb
Instance Attribute Summary collapse
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#hooks ⇒ Object
Returns the value of attribute hooks.
-
#services ⇒ Object
Returns the value of attribute services.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize(group_name) ⇒ ConfigDaemonServices
constructor
A new instance of ConfigDaemonServices.
Methods inherited from ConfigNode
Constructor Details
#initialize(group_name) ⇒ ConfigDaemonServices
Returns a new instance of ConfigDaemonServices.
35 36 37 38 39 |
# File 'lib/config/config_daemon_services.rb', line 35 def initialize(group_name) @hooks=[] @group_name=group_name @services={} end |
Instance Attribute Details
#group_name ⇒ Object
Returns the value of attribute group_name.
32 33 34 |
# File 'lib/config/config_daemon_services.rb', line 32 def group_name @group_name end |
#hooks ⇒ Object
Returns the value of attribute hooks.
33 34 35 |
# File 'lib/config/config_daemon_services.rb', line 33 def hooks @hooks end |
#services ⇒ Object
Returns the value of attribute services.
31 32 33 |
# File 'lib/config/config_daemon_services.rb', line 31 def services @services end |