Class: Convoy::Setup::Configuration::MergeTool
- Inherits:
-
Object
- Object
- Convoy::Setup::Configuration::MergeTool
- Defined in:
- lib/convoy/setup/configuration/merge_tool.rb
Instance Method Summary collapse
- #config_hash ⇒ Object
-
#initialize(new_config_hash, old_config_hash) ⇒ MergeTool
constructor
A new instance of MergeTool.
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_hash ⇒ Object
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 |