From d64ce278f01cafc1c3c23aec9bb2394412ad160b Mon Sep 17 00:00:00 2001
From: Paul Duncan
+
+
+
See section 4.4.3.2 of APPNOTE.TXT for version details.
+Example:
+ +# create version and print it out
+version = Zip::Version.new(5, 0)
+puts "version = #{version}"
+
@@ -239,7 +265,13 @@ attributes.
Create a version identifier from a major number, minor number, and -optional compatability number.
Example:
+ +# create version and print it out
+version = Zip::Version.new(5, 0)
+puts "version = #{version}"
Create a version identifier from a major number, minor number, and -optional compatability number.
You shouldn't need to call this constructor directly; it is used +by internal classes.
Write version as 16-bit, little-endian integer and return number -of bytes written.
You shouldn't need to call this method directly; it is used by +internal classes.
Write version as string.
Write version as string.
+ +# create version and print it out
+version = Zip::Version.new(5, 0)
+puts "version = #{version}"