Class: ProxyMgr::Watcher::File

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/proxymgr/watcher/file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

disable!, #logger, logger

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

#serversObject (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

#shutdownObject



20
21
# File 'lib/proxymgr/watcher/file.rb', line 20

def shutdown
end