Class: BigIParse::Config
- Inherits:
-
Object
- Object
- BigIParse::Config
- Defined in:
- lib/bigip_parse/config.rb
Overview
Class for working with BIG IP Configs
Defined Under Namespace
Classes: Section
Instance Method Summary collapse
-
#initialize(str) ⇒ Config
constructor
A new instance of Config.
- #subsections ⇒ Object
Constructor Details
#initialize(str) ⇒ Config
Returns a new instance of Config.
47 48 49 |
# File 'lib/bigip_parse/config.rb', line 47 def initialize(str) @config = Section.new(nil, str) end |
Instance Method Details
#subsections ⇒ Object
51 52 53 |
# File 'lib/bigip_parse/config.rb', line 51 def subsections @config.subsections end |