Class: HaproxyParser::SectionCollector
- Inherits:
-
Object
- Object
- HaproxyParser::SectionCollector
- Defined in:
- lib/haproxy_parser/section_collector.rb
Constant Summary collapse
- SECTIONS =
%w(defaults global frontend backend listen)
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ SectionCollector
constructor
A new instance of SectionCollector.
Constructor Details
#initialize(path) ⇒ SectionCollector
Returns a new instance of SectionCollector.
8 9 10 |
# File 'lib/haproxy_parser/section_collector.rb', line 8 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/haproxy_parser/section_collector.rb', line 7 def path @path end |