Module | Zip |
In: |
lib/zip/zipfilesystem.rb
lib/zip/zip.rb |
VERSION | = | '0.9.4' | ||
RUBY_MINOR_VERSION | = | RUBY_VERSION.split(".")[1].to_i | ||
RUNNING_ON_WINDOWS | = | /mswin32|cygwin|mingw|bccwin/ =~ RUBY_PLATFORM | ||
EMPTY_FILE_RETURNS_EMPTY_STRING_FIRST | = | RUBY_MINOR_VERSION != 7 |
Ruby 1.7.x compatibility In ruby 1.6.x and 1.8.0 reading from an empty
stream returns an empty string the first time and then nil.
not so in 1.7.x |