Class: HAProxy::Treetop::DefaultsHeader

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

Overview

Helper class for defaults header nodes

Instance Method Summary collapse

Methods included from StrippedTextContent

#content

Instance Method Details

#proxy_nameObject



145
146
147
# File 'lib/haproxy/treetop/nodes.rb', line 145

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