Class: Convoy::Setup::Configuration::MergeTool

Inherits:
Object
  • Object
show all
Defined in:
lib/convoy/setup/configuration/merge_tool.rb

Instance Method Summary collapse

Constructor Details

#initialize(new_config_hash, old_config_hash) ⇒ MergeTool

Returns a new instance of MergeTool.



5
6
7
8
# File 'lib/convoy/setup/configuration/merge_tool.rb', line 5

def initialize(new_config_hash, old_config_hash)
    @new_config_hash = new_config_hash
    @old_config_hash = old_config_hash
end

Instance Method Details

#config_hashObject



10
11
12
# File 'lib/convoy/setup/configuration/merge_tool.rb', line 10

def config_hash
    merge_config(@new_config_hash, @old_config_hash)
end