Creating Resource Assignments in Ruby
Contents
[
Hide
Show
]Aspose.Tasks - Creating Resource Assignments
To create Resource Assignments using Aspose.Tasks Java for Ruby, simply invoke CreateResourceAssignment module. Here you can see example code.
1project = Rjb::import('com.aspose.tasks.Project').new('test_tasks.mpp')
2task = project.getRootTask().getChildren().add("Task")
3rsc = project.getResources().add("Rsc")
4assignment = project.getResourceAssignments().add(task, rsc)
5puts "Created resource assignment."
Download Running Code
Download Creating Resource Assignments (Aspose.Tasks) from any of the below mentioned social coding sites: