Class: HAProxy::Treetop::DefaultsHeader

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Includes:
StrippedTextContent
Defined in:
lib/haproxy/treetop/nodes.rb

Instance Method Summary collapse

Methods included from StrippedTextContent

#content

Instance Method Details

#proxy_nameObject



140
141
142
# File 'lib/haproxy/treetop/nodes.rb', line 140

def proxy_name
  self.elements.select {|e| e.class == ProxyName}.first
end