Reading Group Definition Data in Ruby

Aspose.Tasks - Reading Group Definition Data

To read Group Definition Data using Aspose.Tasks Java for Ruby, simply invoke ReadingGroupDefinitionData module. Here you can see example code.

Ruby Code

project = Rjb::import('com.aspose.tasks.Project').new('test_tasks.mpp')
puts "Task Groups Count: " + project.getTaskGroups().size().to_s
task_group = project.getTaskGroups().toList().get(0)
puts "Percent Complete:" +  task_group.getName().to_s
puts "Group Criteria count: " + task_group.getGroupCriteria().size().to_s

Download Running Code

Download Reading Group Definition Data (Aspose.Tasks) from any of the below mentioned social coding sites: