Merge branch 'master' into convert-to-engine-rspec

This commit is contained in:
Dzmitry Plashchynski authored and GitHub committed 2022-05-29 20:32:06 +03:00
commit 333f18d89b
7 files changed
+94 -43

No files matched your search

+2 -1
View File
@@ -78,7 +78,8 @@ module Crono
end
def time_atts
{ hour: @at_hour, min: @at_min }.compact
atts = { hour: @at_hour, min: @at_min }
atts.respond_to?(:compact) ? atts.compact : atts.select { |_, value| !value.nil? }
end
end
end