Class: ProxyMgr::Watcher::File
- Inherits:
-
Object
- Object
- ProxyMgr::Watcher::File
- Includes:
- Logging
- Defined in:
- lib/proxymgr/watcher/file.rb
Instance Attribute Summary collapse
-
#servers ⇒ Object
readonly
Returns the value of attribute servers.
Instance Method Summary collapse
-
#initialize(name, config, manager) ⇒ File
constructor
A new instance of File.
- #shutdown ⇒ Object
Methods included from Logging
Constructor Details
#initialize(name, config, manager) ⇒ File
Returns a new instance of File.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/proxymgr/watcher/file.rb', line 8 def initialize(name, config, manager) @name = name @manager = manager @config = config @servers = [] @thread = nil watch end |
Instance Attribute Details
#servers ⇒ Object (readonly)
Returns the value of attribute servers.
4 5 6 |
# File 'lib/proxymgr/watcher/file.rb', line 4 def servers @servers end |
Instance Method Details
#shutdown ⇒ Object
20 21 |
# File 'lib/proxymgr/watcher/file.rb', line 20 def shutdown end |