handling @jobs as a str more intelligently
using instance var name instead of local var
added fallback case for string jobs
Merge pull request #685 from shatterednirvana/handling-jobs-as-str

handling @jobs as a str more intelligently