Class: BigIParse::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/bigip_parse/config.rb

Overview

Class for working with BIG IP Configs

Defined Under Namespace

Classes: Section

Instance Method Summary collapse

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

#subsectionsObject



51
52
53
# File 'lib/bigip_parse/config.rb', line 51

def subsections
  @config.subsections
end