Module: HAProxy::Treetop::ServerContainer

Included in:
BackendSection, ListenSection
Defined in:
lib/haproxy/treetop/nodes.rb

Overview

Include this module if the node contains a server elements.

Instance Method Summary collapse

Instance Method Details

#serversObject



40
41
42
# File 'lib/haproxy/treetop/nodes.rb', line 40

def servers
  self.config_block.elements.select {|e| e.class == ServerLine}
end