Sha256: 57694348a8fdac88783ed12afa6def6a66b81b0b8723d3b1c6725dafa1c78011
Contents?: true
Size: 895 Bytes
Versions: 1
Compression:
Stored size: 895 Bytes
Contents
module Asposetasksjava module AssignmentBudget 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 "Buget Cost: " + ra.get(Rjb::import('com.aspose.tasks.Asn').BUDGET_COST).toString() puts "Buget Work: " + ra.get(Rjb::import('com.aspose.tasks.Asn').BUDGET_WORK).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/assignmentbudget.rb |