Class: ProcessWanker::ConfigDaemonService
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigDaemonService
- Defined in:
- lib/config/config_daemon_service.rb
Instance Attribute Summary collapse
-
#hooks ⇒ Object
Returns the value of attribute hooks.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize(name, klass) ⇒ ConfigDaemonService
constructor
A new instance of ConfigDaemonService.
Methods inherited from ConfigNode
Constructor Details
#initialize(name, klass) ⇒ ConfigDaemonService
Returns a new instance of ConfigDaemonService.
31 32 33 34 35 36 |
# File 'lib/config/config_daemon_service.rb', line 31 def initialize(name,klass) @hooks=[] @name=name @klass=klass @params={} end |
Instance Attribute Details
#hooks ⇒ Object
Returns the value of attribute hooks.
29 30 31 |
# File 'lib/config/config_daemon_service.rb', line 29 def hooks @hooks end |
#klass ⇒ Object
Returns the value of attribute klass.
26 27 28 |
# File 'lib/config/config_daemon_service.rb', line 26 def klass @klass end |
#name ⇒ Object
Returns the value of attribute name.
28 29 30 |
# File 'lib/config/config_daemon_service.rb', line 28 def name @name end |
#params ⇒ Object
Returns the value of attribute params.
27 28 29 |
# File 'lib/config/config_daemon_service.rb', line 27 def params @params end |