Class: Afterparty::BasicJob

Inherits:
Object
  • Object
show all
Includes:
JobDescribers
Defined in:
lib/afterparty/jobs.rb

Instance Attribute Summary

Attributes included from JobDescribers

#args, #execute_at, #method, #object

Instance Method Summary collapse

Methods included from JobDescribers

#description, #initialize

Instance Method Details

#runObject



32
33
34
# File 'lib/afterparty/jobs.rb', line 32

def run
  @object.send(@method, *@args)
end