Sha256: 209123a15fa5bc14c9fdef9d4e94ff5c96c41c71123b9269299f46066c869677

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

module Asposetasksjava
  module ReadingGroupDefinitionData
    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')

        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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asposetasksjava-0.0.1 lib/asposetasksjava/Projects/readinggroupdefinitiondata.rb