Class: HAProxy::Treetop::ConfigLine

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

Instance Method Summary collapse

Methods included from OptionalValueElement

#value

Methods included from StrippedTextContent

#content

Instance Method Details

#attributeObject



113
114
115
# File 'lib/haproxy/treetop/nodes.rb', line 113

def attribute
  self.value.content
end

#keyObject



109
110
111
# File 'lib/haproxy/treetop/nodes.rb', line 109

def key
  self.keyword.content
end