Method: Lev::ActiveJob::Base#perform
- Defined in:
- lib/lev/active_job/base.rb
#perform(*args, **kwargs, &block) ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/lev/active_job/base.rb', line 38 def perform(*args, **kwargs, &block) # Pop arguments added by perform_later id = args.pop routine_class = Kernel.const_get(args.pop) routine_instance = routine_class.new(routine_class.find_status(id)) routine_instance.call(*args, **kwargs, &block) end |