Class: ProcessWanker::ConfigDaemonService

Inherits:
ConfigNode
  • Object
show all
Defined in:
lib/config/config_daemon_service.rb

Instance Attribute Summary collapse

Attributes inherited from ConfigNode

#container

Instance Method Summary collapse

Methods inherited from ConfigNode

#find_attributes, #get_auth

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

#hooksObject

Returns the value of attribute hooks.



29
30
31
# File 'lib/config/config_daemon_service.rb', line 29

def hooks
  @hooks
end

#klassObject

Returns the value of attribute klass.



26
27
28
# File 'lib/config/config_daemon_service.rb', line 26

def klass
  @klass
end

#nameObject

Returns the value of attribute name.



28
29
30
# File 'lib/config/config_daemon_service.rb', line 28

def name
  @name
end

#paramsObject

Returns the value of attribute params.



27
28
29
# File 'lib/config/config_daemon_service.rb', line 27

def params
  @params
end