From d64ce278f01cafc1c3c23aec9bb2394412ad160b Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 11 Aug 2016 00:30:34 -0400 Subject: update documentation --- Zip/Version.html | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) (limited to 'Zip/Version.html') diff --git a/Zip/Version.html b/Zip/Version.html index a555534..f8a04b4 100644 --- a/Zip/Version.html +++ b/Zip/Version.html @@ -85,8 +85,28 @@ -
  • - WriterEntry +
  • + Writers + + +
  • @@ -120,6 +140,12 @@ attributes.

    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.

    +optional compatability number.

    + +

    Example:

    + +
    # create version and print it out
    +version = Zip::Version.new(5, 0)
    +puts "version = #{version}"

    @@ -256,7 +288,10 @@ optional compatability number.

    Create a version identifier from a major number, minor number, and -optional compatability number.

    +optional compatability number.

    + +

    You shouldn't need to call this constructor directly; it is used +by internal classes.


    @@ -278,7 +313,10 @@ optional compatability number.

    Write version as 16-bit, little-endian integer and return number -of bytes written.

    +of bytes written.

    + +

    You shouldn't need to call this method directly; it is used by +internal classes.


    @@ -294,7 +332,11 @@ of bytes written.

    # -

    Write version as string.

    +

    Write version as string.

    + +
    # create version and print it out
    +version = Zip::Version.new(5, 0)
    +puts "version = #{version}"

    -- cgit v1.2.3