Class: OpenConfig::Base
- Inherits:
-
Node
- Object
- OpenStruct
- Node
- OpenConfig::Base
show all
- Defined in:
- lib/open_config/files/base.rb
Instance Method Summary
collapse
Methods inherited from Node
#fetch, #pretty_print, #to_h
Constructor Details
#initialize(path) ⇒ Base
7
8
9
10
|
# File 'lib/open_config/files/base.rb', line 7
def initialize(path)
@path = path
super(build_config)
end
|
Instance Method Details
#==(other) ⇒ Object
12
13
14
15
|
# File 'lib/open_config/files/base.rb', line 12
def ==(other)
return false unless other.kind_of?(OpenConfig::Base)
table! == other.table!
end
|