Module: HAProxy::Treetop::OptionalValueElement

Included in:
ConfigLine, OptionLine, ServerLine
Defined in:
lib/haproxy/treetop/nodes.rb

Overview

Include this module if the value is optional for the node.

Instance Method Summary collapse

Instance Method Details

#valueObject



49
50
51
# File 'lib/haproxy/treetop/nodes.rb', line 49

def value
  elements.find {|e| e.class == Value}
end