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
#value ⇒ Object
47 48 49 |
# File 'lib/haproxy/treetop/nodes.rb', line 47 def value self.elements.find {|e| e.class == Value} end |