Sha256: 6e7f3c70b9b466277d424e373b48a886d4ceb080e9eedc10ab04ade69adcfb7b

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

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

        if project.check()
            puts "Project is ok"
        else
            puts "Project is not ok"
        end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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