lib/mail/notify/personalisation.rb in mail-notify-1.1.0 vs lib/mail/notify/personalisation.rb in mail-notify-1.2.0
- old
+ new
@@ -12,10 +12,10 @@
end
def to_h
merged_options
.reject { |_k, v| v.blank? }
- .transform_values { |value| value == BLANK ? "" : value }
+ .transform_values { |value| (value == BLANK) ? "" : value }
end
private
def merged_options