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

1project = Rjb::import('com.aspose.tasks.Project').new('test_tasks.mpp')
2puts "Task Groups Count: " + project.getTaskGroups().size().to_s
3task_group = project.getTaskGroups().toList().get(0)
4puts "Percent Complete:" +  task_group.getName().to_s
5puts "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:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.