module HAProxy::Treetop::ServerContainer
Include this module if the node contains a server elements.
Public Instance Methods
servers()
click to toggle source
# File lib/haproxy/treetop/nodes.rb, line 42 def servers config_block.elements.select {|e| e.class == ServerLine} end