Parent

Methods

ClimateControl::Modifier::OverlappingKeysWithChangedValues

Public Class Methods

new(hash_1, hash_2) click to toggle source
# File lib/climate_control/modifier.rb, line 66
def initialize(hash_1, hash_2)
  @hash_1 = hash_1
  @hash_2 = hash_2
end

Public Instance Methods

keys() click to toggle source
# File lib/climate_control/modifier.rb, line 71
def keys
  overlapping_keys.select do |overlapping_key|
    @hash_1[overlapping_key] != @hash_2[overlapping_key]
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.