Module: HAProxy::Treetop::StrippedTextContent
- Included in:
- BackendHeader, BlankLine, Char, CommentLine, CommentText, ConfigLine, DefaultsHeader, GlobalHeader, Host, Keyword, OptionLine, Port, ProxyName, ServerLine, ServerName, ServiceAddress, UserlistHeader, Value
- Defined in:
- lib/haproxy/treetop/nodes.rb
Overview
Include this module to always strip whitespace from the text_value
Instance Method Summary collapse
Instance Method Details
#content ⇒ Object
7 8 9 |
# File 'lib/haproxy/treetop/nodes.rb', line 7 def content self.text_value.strip end |