lib/sentry/cron/monitor_schedule.rb in sentry-ruby-5.16.1 vs lib/sentry/cron/monitor_schedule.rb in sentry-ruby-5.17.0
- old
+ new
@@ -24,10 +24,10 @@
# The unit representing duration of the interval.
# @return [Symbol]
attr_accessor :unit
- VALID_UNITS = %i(year month week day hour minute)
+ VALID_UNITS = %i[year month week day hour minute]
def initialize(value, unit)
@value = value
@unit = unit
end