class SidekiqScheduler::RufusUtils
def self.normalize_schedule_options(options)
-
(Array)
-
Parameters:
-
options
(String, [Array]
) -- ptions [String, [Array]
def self.normalize_schedule_options(options) schedule, opts = options if !opts.is_a?(Hash) opts = {} end opts = SidekiqScheduler::Utils.symbolize_keys(opts) return schedule, opts end