Class: HAProxy::Treetop::ServerLine

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

Overview

Helper class for server nodes

Instance Method Summary collapse

Methods included from OptionalValueElement

#value

Methods included from ServiceAddressContainer

#host, #port, #service_address

Methods included from StrippedTextContent

#content

Instance Method Details

#nameObject



133
134
135
# File 'lib/haproxy/treetop/nodes.rb', line 133

def name
  server_name.content
end