Class: ProcessWanker::ConfigDaemon
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigDaemon
- Defined in:
- lib/config/config_daemon.rb
Constant Summary collapse
- DEFAULT_LISTEN_HOSTNAME =
"127.0.0.1"
Instance Attribute Summary collapse
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#hooks ⇒ Object
Returns the value of attribute hooks.
-
#listen_hostname ⇒ Object
Returns the value of attribute listen_hostname.
-
#listen_port ⇒ Object
Returns the value of attribute listen_port.
-
#log_file ⇒ Object
Returns the value of attribute log_file.
-
#services ⇒ Object
Returns the value of attribute services.
-
#smtp ⇒ Object
Returns the value of attribute smtp.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize ⇒ ConfigDaemon
constructor
A new instance of ConfigDaemon.
Methods inherited from ConfigNode
Constructor Details
#initialize ⇒ ConfigDaemon
Returns a new instance of ConfigDaemon.
45 46 47 48 49 50 |
# File 'lib/config/config_daemon.rb', line 45 def initialize() @hooks=[] @services={} @listen_hostname=DEFAULT_LISTEN_HOSTNAME @listen_port=NetUtil::DEFAULT_PORT end |
Instance Attribute Details
#auth ⇒ Object
Returns the value of attribute auth.
38 39 40 |
# File 'lib/config/config_daemon.rb', line 38 def auth @auth end |
#hooks ⇒ Object
Returns the value of attribute hooks.
40 41 42 |
# File 'lib/config/config_daemon.rb', line 40 def hooks @hooks end |
#listen_hostname ⇒ Object
Returns the value of attribute listen_hostname.
41 42 43 |
# File 'lib/config/config_daemon.rb', line 41 def listen_hostname @listen_hostname end |
#listen_port ⇒ Object
Returns the value of attribute listen_port.
42 43 44 |
# File 'lib/config/config_daemon.rb', line 42 def listen_port @listen_port end |
#log_file ⇒ Object
Returns the value of attribute log_file.
43 44 45 |
# File 'lib/config/config_daemon.rb', line 43 def log_file @log_file end |
#services ⇒ Object
Returns the value of attribute services.
37 38 39 |
# File 'lib/config/config_daemon.rb', line 37 def services @services end |
#smtp ⇒ Object
Returns the value of attribute smtp.
39 40 41 |
# File 'lib/config/config_daemon.rb', line 39 def smtp @smtp end |