Skip to content

Instantly share code, notes, and snippets.

@evanwhalen
Created November 27, 2012 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanwhalen/4155837 to your computer and use it in GitHub Desktop.
Save evanwhalen/4155837 to your computer and use it in GitHub Desktop.
base job
class BaseJob
def queue
:queue
end
def perform(klass, method, *args)
klass.constantize.send(method, *args)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment