Class: HAProxy::Treetop::ServerLine

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

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



129
130
131
# File 'lib/haproxy/treetop/nodes.rb', line 129

def name
  self.server_name.content
end