def equals_to?(key, value)
      raise_error(type: "equals", key: key, supposed: value, found: validator.datas[key]) unless validator.datas[key] == value
    end
def equals_to?(key, value)
      raise_error(type: "equals", key: key, supposed: value, found: validator.datas[key]) unless validator.datas[key] == value
    end
Checks if the value associated with the given key is equal to the given value.
 @param [Object] key the key associated with the value to check.
 @param [Object] value the values with which the initial value should be compared.
 @raise [ArgumentError] if the initial value is not equal to the given value.