Sha256: 372f925f18e15e101e976c41bb4575079e24adeeb29f1eae677fdeb6e7b646dd
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
module Asposetasksjava module CreateTaskLink 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 pred = project.getRootTask().getChildren().add("Task 1") succ = project.getRootTask().getChildren().add("Task 2") link = project.getTaskLinks().add(pred, succ) puts "Created task link." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asposetasksjava-0.0.1 | lib/asposetasksjava/TaskLinks/createtasklink.rb |