Module: Chamber::Commands::Comparable
- Included in:
- Compare
- Defined in:
- lib/chamber/commands/comparable.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'lib/chamber/commands/comparable.rb', line 14 def call system("git diff --no-index #{first_settings_file} #{second_settings_file}") end |
#initialize(keys_only:, **args) ⇒ Object
8 9 10 11 12 |
# File 'lib/chamber/commands/comparable.rb', line 8 def initialize(keys_only:, **args) super self.keys_only = keys_only end |