Sha256: 88894d0077fa332640d8d98e96bd9c527d4b454830173f1e2e69637225eb0c08
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 Bytes
Contents
module Asposetasksjava module AssignmentPercentWorkComplete def initialize() data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' # Instantiate project object project = Rjb::import('com.aspose.tasks.Project').new(data_dir + 'test_tasks.mpp') resource_assignments = project.getResourceAssignments().toList() # Parse through all the collected resource assignments i = 0 while i < resource_assignments.size() ra = resource_assignments.get(i) puts "Percentage of the Completed Work: " + ra.get(Rjb::import('com.aspose.tasks.Asn').PERCENT_WORK_COMPLETE).toString() puts "--------------------------------------------------------" i +=1 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asposetasksjava-0.0.1 | lib/asposetasksjava/ResourceAssignments/assignmentpercentworkcomplete.rb |