diff options
-rw-r--r-- | lib/rubygems/package/file_source.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,10 +22,10 @@ class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all end def with_write_io(&block) - File.open path, 'wb', &block end def with_read_io(&block) - File.open path, 'rb', &block end end |