lib/active_job/scheduler/schedule.rb
# All events scheduled in the jobs.yml file.
#
# @private
# @return [Array<ActiveJob::Scheduler::Job>]
All events scheduled in the jobs.yml file.
All events scheduled in the jobs . yml file .
def events_from_yaml
        yaml.map do |name, options|
          Event.new(
            name: name,
            class_name: options['class_name'],
            arguments: options['args'],
            description: options['description'],
            interval: options.slice(*Interval::TYPES)
          )
        end
      end
def events_from_yaml yaml . map do | name , options | Event . new ( name : name , class_name : options [ 'class_name' ] , arguments : options [ 'args' ] , description : options [ 'description' ] , interval : options . slice ( * Interval :: TYPES ) ) end end
All events scheduled in the jobs.yml file.
All events scheduled in the jobs . yml file .
None
Array<ActiveJob::Scheduler::Job>
private
None