Sha256: fb8e4a26385b6ffc4a88feb17da57858bc620d5dee4b671b3c1129e06131b70b
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
class ObjectWorker # Public: perform. # # klass_name - name of the class (string). # method - method name, this method will be called on the object. # *args - array of arguments to send to the method # def self.perform(klass_name, method, *args) args = ResquePerformLater.args_from_resque(args) klass_name.constantize.send(method, *args) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
perform_later-0.0.4 | lib/object_worker.rb |
perform_later-0.0.3 | lib/object_worker.rb |