Sha256: e84c1101806aa008222f957de24531e79f5daeebf459f67a213e76af4bbfda4c
Contents?: true
Size: 340 Bytes
Versions: 2
Compression:
Stored size: 340 Bytes
Contents
module Rjobs module CliHelper def get_jobs_info(jobs_file) jf = JobsFile.new(jobs_file) jobs= [] jf.ids.each_with_index do |jobId,index| job = Rjobs::Job.new(jobId, Rjobs::JobHandler.get_job_attributes(jobId)) job.name = jf.job_names[index] jobs << job end jobs end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rjobs-0.2.0.alpha | lib/rjobs/cli_helper.rb |
rjobs-0.1.0.alpha | lib/rjobs/cli_helper.rb |