Class: OpenConfig::Base
- Defined in:
- lib/open_config/files/base.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(path) ⇒ Base
constructor
A new instance of Base.
Methods inherited from Node
Constructor Details
#initialize(path) ⇒ Base
Returns a new instance of 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 |