Determining Project Version in Ruby

Aspose.Tasks - Determining Project Version

To Determine Project Version using Aspose.Tasks Java for Ruby, simply invoke ProjectVersion module. Here you can see example code.

Ruby Code

1project = Rjb::import('com.aspose.tasks.Project').new('Sample.xml')
2puts "Project Version : " + project.get(Rjb::import('com.aspose.tasks.Prj').SAVE_VERSION).to_string
3puts "Last Saved : " + project.get(Rjb::import('com.aspose.tasks.Prj').LAST_SAVED).to_string

Download Running Code

Download Determining Project Version (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.